Skip to content

Commit 41c2024

Browse files
authored
Fix glob bug in package.json scripts section (#359)
1 parent 8dbf352 commit 41c2024

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"main": "lib/setup-go.js",
77
"scripts": {
88
"build": "tsc && ncc build -o dist/setup src/setup-go.ts && ncc build -o dist/cache-save src/cache-save.ts",
9-
"format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write **/*.{ts,yml,yaml}",
10-
"format-check": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --check **/*.{ts,yml,yaml}",
11-
"lint": "eslint --config ./.eslintrc.js **/*.ts",
12-
"lint:fix": "eslint --config ./.eslintrc.js **/*.ts --fix",
9+
"format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write \"**/*.{ts,yml,yaml}\"",
10+
"format-check": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --check \"**/*.{ts,yml,yaml}\"",
11+
"lint": "eslint --config ./.eslintrc.js \"**/*.ts\"",
12+
"lint:fix": "eslint --config ./.eslintrc.js \"**/*.ts\" --fix",
1313
"test": "jest --coverage",
1414
"pre-checkin": "npm run format && npm run lint:fix && npm run build && npm test"
1515
},

0 commit comments

Comments
 (0)