Skip to content

Commit d431617

Browse files
authored
Enable dotnet global tool pwsh (#2503)
1 parent f1f46ca commit d431617

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/platform.ts

+3-6
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,10 @@ export class PowerShellExeFinder {
180180
break;
181181
}
182182

183-
// TODO:
184-
// Enable this when the global tool has been updated
185-
// to support proper argument passing.
186-
// Currently it cannot take startup arguments to start PSES with.
187-
//
188183
// Look for the .NET global tool
189-
// yield this.findPSCoreDotnetGlobalTool();
184+
// Some older versions of PowerShell have a bug in this where startup will fail,
185+
// but this is fixed in newer versions
186+
yield this.findPSCoreDotnetGlobalTool();
190187

191188
// Look for PSCore preview
192189
yield this.findPSCorePreview();

0 commit comments

Comments
 (0)