This commit is contained in:
Fabio Berger
2018-07-23 20:29:14 +02:00
parent 76eab5d3ec
commit b110d95de1

View File

@@ -187,6 +187,9 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string
const isCustomVersionPrompt = _.includes(output, 'Enter a custom version'); const isCustomVersionPrompt = _.includes(output, 'Enter a custom version');
if (isCustomVersionPrompt) { if (isCustomVersionPrompt) {
const versionChange = packageToNextVersion[packageName]; const versionChange = packageToNextVersion[packageName];
if (_.isUndefined(versionChange)) {
console.log('versionChange', versionChange, ' UNDEFINED!');
}
child.stdin.write(`${versionChange}\n`); child.stdin.write(`${versionChange}\n`);
return; return;
} }