Skip to content

Commit

Permalink
fix(Core): add "" when executing restore
Browse files Browse the repository at this point in the history
just to be unified
  • Loading branch information
wgnf committed Feb 27, 2023
1 parent 5129f8f commit 30e308c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public async Task<IEnumerable<PackageReference>> GetFromProjectAsync(Project pro

private async Task RunDotNetRestore(Project project)
{
await _cliToolExecutor.ExecuteAsync("dotnet", $"restore {project.File}").ConfigureAwait(false);
await _cliToolExecutor.ExecuteAsync("dotnet", $"restore \"{project.File}\"").ConfigureAwait(false);
}

private async Task<string> RunDotNetListPackage(Project project, bool includeTransitive)
Expand Down

0 comments on commit 30e308c

Please sign in to comment.