@eclipse-glsp/cli 2.8.0-next.8 → 2.8.0-next.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +8 -8
- package/dist/cli.js.map +1 -1
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -22980,9 +22980,9 @@ function configureExec(config) {
|
|
|
22980
22980
|
Object.assign(globalExecConfig, config);
|
|
22981
22981
|
}
|
|
22982
22982
|
function exec(cmd, options = {}) {
|
|
22983
|
-
const silent = options.silent
|
|
22984
|
-
const fatal = options.fatal
|
|
22985
|
-
const verbose = options.verbose
|
|
22983
|
+
const silent = options.silent ?? globalExecConfig.silent;
|
|
22984
|
+
const fatal = options.fatal ?? globalExecConfig.fatal;
|
|
22985
|
+
const verbose = options.verbose ?? globalExecConfig.verbose;
|
|
22986
22986
|
const { cwd } = options;
|
|
22987
22987
|
if (verbose) {
|
|
22988
22988
|
console.log(`+ ${cmd}`);
|
|
@@ -23011,9 +23011,9 @@ ${result.stderr || ""}`.trim();
|
|
|
23011
23011
|
return result.stdout ? result.stdout.toString().trim() : "";
|
|
23012
23012
|
}
|
|
23013
23013
|
function execAsync(cmd, options = {}) {
|
|
23014
|
-
const silent = options.silent
|
|
23015
|
-
const fatal = options.fatal
|
|
23016
|
-
const verbose = options.verbose
|
|
23014
|
+
const silent = options.silent ?? globalExecConfig.silent;
|
|
23015
|
+
const fatal = options.fatal ?? globalExecConfig.fatal;
|
|
23016
|
+
const verbose = options.verbose ?? globalExecConfig.verbose;
|
|
23017
23017
|
const { cwd } = options;
|
|
23018
23018
|
if (verbose) {
|
|
23019
23019
|
console.log(`+ ${cmd}`);
|
|
@@ -23071,7 +23071,7 @@ function configureEnv(options) {
|
|
|
23071
23071
|
configureExec({ silent: !options.verbose, verbose: options.verbose });
|
|
23072
23072
|
}
|
|
23073
23073
|
function execForeground(cmd, options = {}) {
|
|
23074
|
-
const verbose = options.verbose
|
|
23074
|
+
const verbose = options.verbose ?? globalExecConfig.verbose;
|
|
23075
23075
|
if (verbose) {
|
|
23076
23076
|
console.log(`+ ${cmd}`);
|
|
23077
23077
|
}
|
|
@@ -24986,7 +24986,7 @@ async function runUnlink(repos, options) {
|
|
|
24986
24986
|
validateReposExist(linkable, options.dir);
|
|
24987
24987
|
const linkDir = path19.resolve(options.dir, ".yarn-link");
|
|
24988
24988
|
const ordered = getBuildOrder(linkable);
|
|
24989
|
-
const reversed =
|
|
24989
|
+
const reversed = ordered.toReversed();
|
|
24990
24990
|
let failures = 0;
|
|
24991
24991
|
LOGGER.label("Unlinking repositories");
|
|
24992
24992
|
for (let i = 0; i < reversed.length; i++) {
|