mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 12:42:59 -05:00
11 lines
327 B
Bash
Executable File
11 lines
327 B
Bash
Executable File
R=`git status --porcelain | wc -l`
|
|
if [ "$R" -ne "0" ]; then
|
|
echo "The git repo is not clean after compiling the /build/ folder. Did you forget to commit .js output for .ts files?";
|
|
git status --porcelain
|
|
echo "\nUnstaged diff:";
|
|
git --no-pager diff
|
|
echo "\nStaged diff:";
|
|
git --no-pager diff --cached
|
|
exit 1;
|
|
fi
|