We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b8f0ff commit fc977f3Copy full SHA for fc977f3
.github/workflows/script/check-js.sh
@@ -12,7 +12,8 @@ rm -rf lib
12
# Generate the JavaScript files
13
npm run-script build
14
# Check that repo is still clean
15
-if [ ! -z "$(git status --porcelain)" ]; then
+git add -N .
16
+if ! git diff --exit-code; then
17
# If we get a fail here then the PR needs attention
18
>&2 echo "Failed: JavaScript files are not up to date. Run 'rm -rf lib && npm run-script build' to update"
19
git status
0 commit comments