Skip to content

Commit ae12f71

Browse files
committed
fix(install): allow specifying release channel in prod
1 parent 968e88e commit ae12f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/install.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class InstallCommand extends Command {
3838
}
3939

4040
if (argv.channel && argv.channel !== 'stable' && !local) {
41-
throw new errors.CliError(`Specifying a channel of '${argv.channel}' is only supported for local installs at this time.`);
41+
this.ui.log(`Warning: Using release channel '${argv.channel}' in production is intended for testing purposes only.`, 'yellow');
4242
}
4343

4444
await this.runCommand(DoctorCommand, {

0 commit comments

Comments
 (0)