Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

Commit

Permalink
fix(prettier): fix prettier file paths for Windows
Browse files Browse the repository at this point in the history
Running `npm run format` on Windows only formats `index.js` because the other two paths start with single quotes which is considered an invalid path. Remove single quotes to work on both Windows & Linux
  • Loading branch information
addisonElliott authored and mbroadst committed Dec 21, 2018
1 parent c39f9f9 commit 00c631e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test": "npm run lint && mongodb-test-runner -t 60000 test/tests",
"coverage": "node_modules/.bin/nyc node test/runner.js -t functional -l && node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls",
"lint": "eslint index.js lib test",
"format": "prettier --print-width 100 --tab-width 2 --single-quote --write index.js 'test/**/*.js' 'lib/**/*.js'",
"format": "prettier --print-width 100 --tab-width 2 --single-quote --write index.js test/**/*.js lib/**/*.js",
"changelog": "conventional-changelog -p angular -i HISTORY.md -s",
"atlas": "node ./test/atlas.js",
"release": "standard-version -i HISTORY.md"
Expand Down

0 comments on commit 00c631e

Please sign in to comment.