Skip to content

Commit b1742f8

Browse files
committed
Add instructions to remove deleted JS / source map files in PR check
1 parent c736697 commit b1742f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/script/check-js.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ npm run-script build
1414
# Check that repo is still clean
1515
if [ ! -z "$(git status --porcelain)" ]; then
1616
# If we get a fail here then the PR needs attention
17-
>&2 echo "Failed: JavaScript files are not up to date. Run 'npm run-script build' to update"
17+
>&2 echo "Failed: JavaScript files are not up to date. Run 'rm -rf lib && npm run-script build' to update"
1818
git status
1919
exit 1
2020
fi
21-
echo "Success: JavaScript files are up to date"
21+
echo "Success: JavaScript files are up to date"

0 commit comments

Comments
 (0)