AtomLinter / linter-markdown

Lint markdown files within atom
https://atom.io/packages/linter-markdown
MIT License
43 stars 8 forks source link

Uncaught RangeError: path should be a `path.relative()`d string, but got "../../../../../users/em... #294

Open eelopez515 opened 4 years ago

eelopez515 commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.50.0 x64 Electron: 5.0.13 OS: Mac OS X 10.15.6 Thrown From: linter-markdown package 5.2.11

Stack Trace

Uncaught RangeError: path should be a path.relative()d string, but got "../../../../../users/emmanuellopez/sei/studies/http-study/study.md"

At /Users/emmanuellopez/.atom/packages/linter-markdown/node_modules/ignore/index.js:366

RangeError: path should be a `path.relative()`d string, but got "../../../../../users/emmanuellopez/sei/studies/http-study/study.md"
    at throwError (/packages/linter-markdown/node_modules/ignore/index.js:366:9)
    at checkPath (/packages/linter-markdown/node_modules/ignore/index.js:385:12)
    at Ignore._test (/packages/linter-markdown/node_modules/ignore/index.js:502:5)
    at Ignore.ignores (/packages/linter-markdown/node_modules/ignore/index.js:541:17)
    at one (/packages/linter-markdown/node_modules/unified-engine/lib/finder.js:255:51)
    at handleIgnore (/packages/linter-markdown/node_modules/unified-engine/lib/finder.js:243:5)
    at done (/packages/linter-markdown/node_modules/unified-engine/lib/ignore.js:41:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at apply (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:190:7)
    at applyAll (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:180:7)
    at found (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:172:7)
    at next (/packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:122:11)
    at /packages/linter-markdown/node_modules/unified-engine/lib/find-up.js:140:18)
    at FSReqCallback.readFileAfterOpen [as oncomplete] (fs.js:247:13)

Commands

Non-Core Packages

aligner 1.2.4 
aligner-css 1.2.1 
aligner-javascript 1.3.0 
aligner-scss 1.3.1 
atom-beautify 0.33.4 
busy-signal 2.0.1 
editorconfig 2.6.1 
emmet 2.4.3 
esformatter 3.0.0 
fixmyjs 1.4.1 
git-diff-details 1.4.0 
git-history 3.3.0 
git-plus 8.7.1 
intentions 1.1.5 
language-markdown 0.37.0 
less-than-slash 0.19.0 
linter 2.3.1 
linter-eslint 8.5.5 
linter-markdown 5.2.11 
linter-rubocop 2.5.7 
linter-sass-lint 1.9.0 
linter-tidy 2.4.0 
linter-ui-default 1.8.1 
markdown-writer 2.11.10 
open-in-browser 0.5.2 
pigments 0.40.2 
sort-lines 0.19.0 
standardjs-snippets 2.6.2 
tidy-html5 0.2.1 
AlexWayfer commented 4 years ago

I think it's a duplicate of #293, #290, #282, #258, #257 and #254.