aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-24 02:29:14 +0800
committerFabio Berger <me@fabioberger.com>2018-07-24 02:29:14 +0800
commitb110d95de14f55a2cc65fbb8a886872adcd9eea5 (patch)
treea35b3205c95159ff864fba5d2c718a0a3a6011f9
parent76eab5d3ecfa5fe3b09392c54eb600e484576abc (diff)
downloaddexon-sol-tools-b110d95de14f55a2cc65fbb8a886872adcd9eea5.tar
dexon-sol-tools-b110d95de14f55a2cc65fbb8a886872adcd9eea5.tar.gz
dexon-sol-tools-b110d95de14f55a2cc65fbb8a886872adcd9eea5.tar.bz2
dexon-sol-tools-b110d95de14f55a2cc65fbb8a886872adcd9eea5.tar.lz
dexon-sol-tools-b110d95de14f55a2cc65fbb8a886872adcd9eea5.tar.xz
dexon-sol-tools-b110d95de14f55a2cc65fbb8a886872adcd9eea5.tar.zst
dexon-sol-tools-b110d95de14f55a2cc65fbb8a886872adcd9eea5.zip
testing
-rw-r--r--packages/monorepo-scripts/src/publish.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index 6e5144e83..820dbc86e 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -187,6 +187,9 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string
const isCustomVersionPrompt = _.includes(output, 'Enter a custom version');
if (isCustomVersionPrompt) {
const versionChange = packageToNextVersion[packageName];
+ if (_.isUndefined(versionChange)) {
+ console.log('versionChange', versionChange, ' UNDEFINED!');
+ }
child.stdin.write(`${versionChange}\n`);
return;
}