Skip to content

Commit

Permalink
Fix prettier commit hook
Browse files Browse the repository at this point in the history
Signed-off-by: Abeshouse, Adam A./Sloan Kettering Institute <[email protected]>

Former-commit-id: 8f514d93dc9b5f62f104ff2b147bde7594e5c581
  • Loading branch information
Abeshouse, Adam A./Sloan Kettering Institute committed Jan 27, 2020
1 parent 8ec4f51 commit abf68d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"testModules": "lerna run test --ignore=cbioportal-frontend --stream",
"test:watch": "yarn run test -- --watch",
"test:debug": "yarn run test -- --debug --browsers=Chrome_with_debugging --single-run=false",
"prettierFixCurrentChanges": "yarn run prettier --write $(git diff HEAD --name-only --cached) && git add -A $(git diff HEAD --name-only --cached)",
"prettierFixCurrentChanges": "STAGED_AND_CHANGED_FILES=$(git diff HEAD --name-only --cached) && yarn run prettier --write $(echo $STAGED_AND_CHANGED_FILES) && git add -f $(echo $STAGED_AND_CHANGED_FILES)",
"prettierCheckCircleCI": "./scripts/env_vars.sh && eval \"$(./scripts/env_vars.sh)\" && yarn run prettier -c $(git diff origin/$(echo $BRANCH_ENV) --name-only)",
"prettierFixLocal": "yarn run prettier --write $(git diff $(echo $BRANCH_ENV) --name-only)",
"syncmock": "node src/test/fetchMockData.js --diff"
Expand Down

0 comments on commit abf68d2

Please sign in to comment.