Files
theia-code-os/scripts/check_git_status.sh
mawkone 8bb5110148
Some checks failed
Playwright Tests / Playwright Tests (ubuntu-22.04, Node.js 22.x) (push) Has been cancelled
3PP License Check / 3PP License Check (11, 22.x, ubuntu-22.04) (push) Has been cancelled
Publish packages to NPM / Perform Publishing (push) Has been cancelled
deploy: current vibn theia state
Made-with: Cursor
2026-02-27 12:01:08 -08:00

10 lines
324 B
Bash
Executable File

#!/bin/sh
if [ $(git status --porcelain | wc -c) -gt 0 ];
then
echo "\nERR: The git repository state changed after the build, this should not happen.\n"
git --no-pager diff
echo "\nHINT: Did you update and commit your 'package-lock.json' ?"
echo "\n You can also check your '.gitignore'."
exit 1
fi