Skip to content

Commit 42070d4

Browse files
committed
fix operator precedence in test:format
1 parent b9fad9b commit 42070d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"test": "npm run test:spelling && npm run test:format && npm run test:build",
1717
"test:spelling": "cspell \"spec/**/*.md\" README.md",
1818
"format": "prettier --write \"**/*.{md,yml,yaml,json}\"",
19-
"test:format": "prettier --check \"**/*.{md,yml,yaml,json}\" || echo \"\nTo resolve this, run: $(tput bold)npm run format$(tput sgr0)\" && exit 1",
19+
"test:format": "prettier --check \"**/*.{md,yml,yaml,json}\" || { echo \"\nTo resolve this, run: $(tput bold)npm run format$(tput sgr0)\" && exit 1 }",
2020
"build": "./build.sh",
2121
"test:build": "spec-md --metadata spec/metadata.json spec/GraphQL.md > /dev/null",
2222
"watch": "nodemon -e json,md --exec \"npm run build\""

0 commit comments

Comments
 (0)