Skip to content

Commit e1961e8

Browse files
committed
La til flagget --no-error-on-unmatched-pattern
1 parent 809efa5 commit e1961e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/prettierCheck/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ runs:
1111
shell: bash
1212
run: |
1313
echo "::group::Run Prettier Check"
14-
npx prettier --check --ignore-path .gitignore --ignore-path .prettierignore ${{ inputs.pathToValidate }}
14+
npx prettier --check --ignore-path .gitignore --ignore-path .prettierignore --no-error-on-unmatched-pattern ${{ inputs.pathToValidate }}
1515
echo "::endgroup::"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"test:unit:debug": "sfdx-lwc-jest --debug",
1212
"test:unit:coverage": "sfdx-lwc-jest --coverage",
1313
"prettier:write": "prettier --write \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
14-
"prettier:check": "prettier --check \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
14+
"prettier:check": "prettier --check --no-error-on-unmatched-pattern \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
1515
"prepare": "husky",
1616
"precommit": "lint-staged",
1717
"lint-staged": "lint-staged"

0 commit comments

Comments
 (0)