Skip to content

Commit 2cb5914

Browse files
committed
consume getJson function for better error messages
1 parent d123f10 commit 2cb5914

6 files changed

Lines changed: 137 additions & 33 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- run: npm ci
2323
- run: npm run build
2424
- run: npm run format-check
25-
- run: npm run pack
2625
- run: npm test
2726
- name: Verify no unstaged changes
2827
if: runner.os != 'windows'

__tests__/verify-no-unstaged-changes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ if [[ "$(git status --porcelain)" != "" ]]; then
1212
echo ----------------------------------------
1313
echo Troubleshooting
1414
echo ----------------------------------------
15-
echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run all"
15+
echo "::error::Unstaged changes detected. Locally try running: git clean -ffdx && npm ci && npm run pre-checkin"
1616
exit 1
1717
fi

0 commit comments

Comments
 (0)