From 920b830bd1adb7ffd250f2cf6e43e6442973546e Mon Sep 17 00:00:00 2001 From: Ivan <98037481+IvanZosimov@users.noreply.github.com> Date: Mon, 3 Apr 2023 12:48:02 +0200 Subject: [PATCH] Fix glob bug in package.json scripts section (#401) --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9bd5b5c..baac7de 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "main": "lib/setup-dotnet.js", "scripts": { "build": "tsc && ncc build", - "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", "prepare": "husky install", "test": "jest --coverage --config ./jest.config.js", "update-installers": "nwget https://dot.net/v1/dotnet-install.ps1 -O externals/install-dotnet.ps1 && nwget https://dot.net/v1/dotnet-install.sh -O externals/install-dotnet.sh"