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

--fix seems to fail over path with wildcards #1263

Closed
heldrida opened this issue Mar 26, 2019 · 1 comment

Comments

@heldrida
Copy link

commented Mar 26, 2019

What version of standard?
12.0.1

What operating system, Node.js, and npm version?
macos, node v8.12.0 (npm v6.4.1)

What did you expect to happen?
Hypothetically, let's say I have ./src/App.js that has semicolons when I run standard --fix path/**/*.js it fails to fix it! Works if I do standard --fix ./src/App.js, the semicolons are erased from the file.

What actually happened?
It doesn't fix

@heldrida

This comment has been minimized.

Copy link
Author

commented Mar 26, 2019

The command requires that the path uses quotes, such as:

./node_modules/standard/bin/cmd.js --fix './src/**/*.js'

or

standard --fix './src/**/*.js'

@heldrida heldrida closed this Mar 26, 2019

@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
1 participant
You can’t perform that action at this time.