Skip to content

Commit dae6a25

Browse files
committed
fix: do not modify file permissions ourselves
1 parent 798cbff commit dae6a25

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Services/DotnetCli.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ public static async Task<bool> VersionInstalled(string dotnetRoot, SemVersion ve
1313
if (!File.Exists(dotnetExe))
1414
return false;
1515

16-
if (!isWin)
17-
File.SetUnixFileMode(dotnetExe, UnixFileMode.UserExecute);
18-
1916
var infoResult = await Command.Run(dotnetExe, ["--info"]).Task;
2017
if (infoResult.ExitCode != 0)
2118
return false;

0 commit comments

Comments
 (0)