Fix ‘npm run prettier-non-js’ on Windows.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-10-10 23:15:09 -07:00
parent b35d45955b
commit add43bafda

View File

@@ -29,7 +29,7 @@
"lint-css": "stylelint app/renderer/css/*.css",
"lint-html": "./node_modules/.bin/htmlhint \"app/renderer/*.html\" ",
"lint-js": "xo",
"prettier-non-js": "prettier --check --loglevel=warn . '!**/*.{js,ts}'",
"prettier-non-js": "prettier --check --loglevel=warn . \"!**/*.{js,ts}\"",
"test": "tsc --noEmit && npm run lint-html && npm run lint-css && npm run lint-js && npm run prettier-non-js",
"test-e2e": "tsc && tape 'tests/*.js'",
"pack": "tsc && electron-builder --dir",