Merge pull request #866 from hashicorp/fix-cli-version

Fix: Trim CLI version in Desktop Config
This commit is contained in:
Susmitha Girumala authored and GitHub committed 2021-11-18 09:58:06 -05:00
commit c460e29f75
1 file changed
+1 -1
+1 -1
View File
@@ -75,7 +75,7 @@ module.exports = {
path.resolve(__dirname, 'cli', 'VERSION'),
'utf8'
);
const artifactPath = await downloadArtifact(artifactVersion);
const artifactPath = await downloadArtifact(artifactVersion.trim());
await extract(artifactPath, artifactDestination);
} catch (e) {
console.error('ERROR: Failed setting up CLI.', e);