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
Context: I'm running EJS-lint on Windows; Windows' path delimiter is a backwards-slash (e.g. C:\path\to\file.ext).
EJS-lint uses globby to generate a list of files from the paths provided as arguments. This is not mentioned in usage, nor in the Readme. Because globby doesn't support backward-slashes, when I pass in Windows path (e.g. views\index.ejs), it returns an empty array. So this:
I would suggest documenting this, or using something like slash (by the developer of globby) to process the file paths before passing them into globby.
The text was updated successfully, but these errors were encountered:
Context: I'm running EJS-lint on Windows; Windows' path delimiter is a backwards-slash (e.g.
C:\path\to\file.ext
).EJS-lint uses
globby
to generate a list of files from the paths provided as arguments. This is not mentioned inusage
, nor in the Readme. Becauseglobby
doesn't support backward-slashes, when I pass in Windows path (e.g.views\index.ejs
), it returns an empty array. So this:EJS-Lint/cli.js
Line 33 in b5ee5a2
becomes:
which never resolves, because
read
will then wait for stdin.I would suggest documenting this, or using something like
slash
(by the developer ofglobby
) to process the file paths before passing them intoglobby
.The text was updated successfully, but these errors were encountered: