another attempt

pull/6544/head
Steven Silvester 4 years ago
parent f5866ebbfb
commit 1f2b682228

@ -51,9 +51,6 @@ commander
if (options.indexOf(spec) === -1) {
throw new Error(`Version spec must be one of: ${options}`);
}
if (isFinal && spec === 'release') {
throw new Error('Use "major" or "minor" to switch back to alpha release');
}
if (isFinal && spec === 'build') {
throw new Error('Cannot increment a build on a final release');
}

Loading…
Cancel
Save