Merge pull request #866 from hashicorp/fix-cli-version
Fix: Trim CLI version in Desktop Config
This commit is contained in:
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user