tfv 3.2.4 → 3.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,7 +43,7 @@ exports.autoSwitch = async () => {
43
43
  const inStore = fs.readdirSync(store).find(v => v.startsWith(tfVersion));
44
44
 
45
45
  if (inStore) {
46
- await use(inStore);
46
+ await use(inStore.replace('.exe', ''));
47
47
  } else {
48
48
  const version = await install(`${tfVersion}^`);
49
49
  await use(version);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tfv",
3
- "version": "3.2.4",
3
+ "version": "3.3.4",
4
4
  "description": "Terraform version manager",
5
5
  "main": "index.js",
6
6
  "directories": {