Skip to content

Commit 3a2084c

Browse files
authored
fix: escape * in detection service for vswhere usage (#20)
1 parent 5b0b32c commit 3a2084c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CodingWithCalvin.VSToolbox.Core/Services/VSDetectionService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private static async Task<string> RunVSWhereAsync(CancellationToken cancellation
4545
var startInfo = new ProcessStartInfo
4646
{
4747
FileName = VSWherePath,
48-
Arguments = "-all -prerelease -products * -format json -utf8",
48+
Arguments = "-all -prerelease -products \"*\" -format json -utf8",
4949
RedirectStandardOutput = true,
5050
RedirectStandardError = true,
5151
UseShellExecute = false,

0 commit comments

Comments
 (0)