You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/nheiner/code/globby-relative-path-demo/node_modules/ignore/index.js:366
throw new Ctor(message)
^
RangeError: path should be a `path.relative()`d string, but got "../index.js"
at throwError (/Users/nheiner/code/globby-relative-path-demo/node_modules/ignore/index.js:366:9)
at checkPath (/Users/nheiner/code/globby-relative-path-demo/node_modules/ignore/index.js:385:12)
at Ignore._test (/Users/nheiner/code/globby-relative-path-demo/node_modules/ignore/index.js:502:5)
at Ignore.ignores (/Users/nheiner/code/globby-relative-path-demo/node_modules/ignore/index.js:541:17)
at /Users/nheiner/code/globby-relative-path-demo/node_modules/globby/gitignore.js:62:22
at /Users/nheiner/code/globby-relative-path-demo/node_modules/globby/index.js:154:34
at Array.filter (<anonymous>)
at AsyncFunction.module.exports.sync (/Users/nheiner/code/globby-relative-path-demo/node_modules/globby/index.js:154:17)
at Object.<anonymous> (/Users/nheiner/code/globby-relative-path-demo/index.js:4:20)
at Module._compile (internal/modules/cjs/loader.js:959:30)
The text was updated successfully, but these errors were encountered:
When I pass a relative path, and
gitignore: true
, I get an error.Demo repo
When I run this, I get:
The text was updated successfully, but these errors were encountered: