mirror of
https://github.com/microsoft/pyright.git
synced 2024-09-11 07:55:56 +03:00
10 lines
372 B
JavaScript
10 lines
372 B
JavaScript
// This script exits with a "failure" if this SKIP_LERNA_BOOTSTRAP is set.
|
|
// This can be used to write npm script like:
|
|
// node ./build/skipBootstrap.js || lerna bootstrap
|
|
// Which means "skip lerna bootstrap if SKIP_LERNA_BOOTSTRAP is set".
|
|
// This prevents spurious bootstraps in nested lerna repos.
|
|
|
|
if (!process.env.SKIP_LERNA_BOOTSTRAP) {
|
|
process.exit(1);
|
|
}
|