From 2f8dc5cbb0b91b18a84d05eab50bb42631a9414a Mon Sep 17 00:00:00 2001 From: Diana Sentoso Date: Wed, 16 Jun 2021 22:01:28 -0700 Subject: [PATCH] fix: update comment --- src/commands/install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/install.ts b/src/commands/install.ts index dc38a07b..2522de95 100644 --- a/src/commands/install.ts +++ b/src/commands/install.ts @@ -38,7 +38,7 @@ export default class InstallCommand extends UpdateCommand { this.channel = versionParts[1].substr(0, versionParts[1].indexOf('.')); this.debug(`Flag overriden target channel: ${this.channel}`); } else if (versionParts.length === 1 && !channelUpdateRequested) { - // If there is only one version part then the channel must be stable + // If there is only one version part and !channelUpdateRequested then the channel must be stable this.channel = 'stable'; }