davglass / license-checker

Check NPM package licenses

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Relative start path does not work

keita-makino opened this issue · comments

When I have the init option as

{
  start: './'
}

and run node statement at the root path (the same folder to package.json) it works.
However, the one with

{
  start: '../'
}

located in 'license' folder will not work.
Is this an intended behavior?

I found it. It was not needed to make the starting path one-tier higher than where the js file was located. In either case the first example would work.

Sorry for making it messy.