mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
* improve * doc * fix * improve * improve * update and fix * pack dependencies * Update Makefile.mjs Co-authored-by: Nicolò Ribaudo <[email protected]> * review * fix node6 * fix * terser Co-authored-by: Nicolò Ribaudo <[email protected]>
13 lines
354 B
JavaScript
13 lines
354 B
JavaScript
// Must run at a git working dir
|
|
|
|
import { execSync } from "child_process";
|
|
|
|
if (execSync("git status --porcelain=v1", { encoding: "utf8" })) {
|
|
console.log(
|
|
'Please re-run "make build" and checkout the following changes to git'
|
|
);
|
|
execSync("git status", { stdio: "inherit" });
|
|
// eslint-disable-next-line no-process-exit
|
|
process.exit(1);
|
|
}
|