Skip to content

Commit

Permalink
fix(core): add unused options parameter for restore
Browse files Browse the repository at this point in the history
Add an unused parameter to keep Nx from overwriting the dotnet client.
  • Loading branch information
Ben Callaghan committed May 19, 2021
1 parent b176945 commit c8b0334
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/generators/restore/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {

export default async function (
host: Tree,
_: null, // Nx will populate this with options, which are currently unused.
dotnetClient = new DotNetClient(dotnetFactory()),
) {
const projects = getNxDotnetProjects(host);
Expand Down

0 comments on commit c8b0334

Please sign in to comment.