aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/monorepo-scripts')
-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;
}