Skip to content

Commit

Permalink
Removed control statement that was effecting return code status, inst…
Browse files Browse the repository at this point in the history
…ead rely on on/pull_requests/paths to identify matching paths. Change prettier configuration to use single space indenting. Updated package-lock.json with new indenting. Added configuration to define node and npm versions.
  • Loading branch information
whitingjr committed Apr 15, 2024
1 parent 8e10b81 commit e9fb0a7
Show file tree
Hide file tree
Showing 4 changed files with 5,149 additions and 5,144 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ jobs:
run: npm install prettier

- name: Check formatting
run: |
if [[ -n "$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} -- horreum-web/package-lock.json)" ]]; then
npx prettier --check "horreum-web/package-lock.json"
fi
run: npx prettier --check "horreum-web/package-lock.json"
2 changes: 1 addition & 1 deletion horreum-web/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 120,
"tabWidth": 2,
"tabWidth": 1,
"arrowParens": "avoid",
"useTabs": false
}
Loading

0 comments on commit e9fb0a7

Please sign in to comment.