From d159d3e23a347799f5a8e3e472c44f4ab6b03bd5 Mon Sep 17 00:00:00 2001 From: IvanZosimov Date: Thu, 23 Mar 2023 10:17:23 +0100 Subject: [PATCH] Fix glob bug in package.json scripts section --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 98f609ce3..89d2eaf88 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "main": "lib/setup-node.js", "scripts": { "build": "ncc build -o dist/setup src/setup-node.ts && ncc build -o dist/cache-save src/cache-save.ts", - "format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write **/*.{ts,yml,yaml}", - "format-check": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --check **/*.{ts,yml,yaml}", - "lint": "eslint --config ./.eslintrc.js **/*.ts", - "lint:fix": "eslint --config ./.eslintrc.js **/*.ts --fix", + "format": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --write \"**/*.{ts,yml,yaml}\"", + "format-check": "prettier --no-error-on-unmatched-pattern --config ./.prettierrc.js --check \"**/*.{ts,yml,yaml}\"", + "lint": "eslint --config ./.eslintrc.js \"**/*.ts\"", + "lint:fix": "eslint --config ./.eslintrc.js \"**/*.ts\" --fix", "test": "jest --coverage", "pre-checkin": "npm run format && npm run lint:fix && npm run build && npm test" },