Skip to content

Commit 65ed244

Browse files
committed
C#: Add missing parameter to interface
1 parent 9cef290 commit 65ed244

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

csharp/extractor/Semmle.Extraction.CSharp.Standalone/DotNet.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Diagnostics;
44
using Semmle.Util;
@@ -7,7 +7,7 @@ namespace Semmle.BuildAnalyser
77
{
88
internal interface IDotNet
99
{
10-
bool RestoreToDirectory(string project, string directory);
10+
bool RestoreToDirectory(string project, string directory, string? pathToNugetConfig = null);
1111
bool New(string folder);
1212
bool AddPackage(string folder, string package);
1313
public IList<string> GetListedRuntimes();

csharp/extractor/Semmle.Extraction.Tests/Runtime.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ internal class DotNetStub : IDotNet
1515

1616
public bool New(string folder) => true;
1717

18-
public bool RestoreToDirectory(string project, string directory) => true;
18+
public bool RestoreToDirectory(string project, string directory, string? pathToNugetConfig = null) => true;
1919

2020
public IList<string> GetListedRuntimes() => runtimes;
2121
}

0 commit comments

Comments
 (0)