Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input files whose name contains a backslash are quietly ignored #899

Open
ttencate opened this issue May 30, 2017 · 2 comments

Comments

@ttencate
Copy link

commented May 30, 2017

Admittedly, it's a bit twisted to have backslashes in filenames, but this might point towards a broader escaping or error handling issue:

$ echo "wrong();" > foo.js
$ echo "wrong();" > foo\\bar.js
$ standard *.js
standard: Use JavaScript Standard Style (https://standardjs.com)
standard: Run `standard --fix` to automatically fix some problems.
  /tmp/foo.js:1:1: 'wrong' is not defined.
  /tmp/foo.js:1:8: Extra semicolon.

Similarly, input files that don't exist are silently ignored:

$ standard qux.js
$ echo $?
0
@feross

This comment has been minimized.

Copy link
Member

commented Apr 24, 2018

Confirmed. There are two issues here. The second is a known behavior that I agree we should improve.

@stale

This comment has been minimized.

Copy link

commented Jul 23, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale label Jul 23, 2018

@stale stale bot closed this Jul 30, 2018

@lock lock bot locked as resolved and limited conversation to collaborators Oct 28, 2018

@standard standard unlocked this conversation Aug 9, 2019

@feross feross added the bug label Aug 9, 2019

@feross feross reopened this Aug 9, 2019

@stale stale bot removed the stale label Aug 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.