mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
C#: Add missing parameter to interface
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using Semmle.Util;
|
using Semmle.Util;
|
||||||
@@ -7,7 +7,7 @@ namespace Semmle.BuildAnalyser
|
|||||||
{
|
{
|
||||||
internal interface IDotNet
|
internal interface IDotNet
|
||||||
{
|
{
|
||||||
bool RestoreToDirectory(string project, string directory);
|
bool RestoreToDirectory(string project, string directory, string? pathToNugetConfig = null);
|
||||||
bool New(string folder);
|
bool New(string folder);
|
||||||
bool AddPackage(string folder, string package);
|
bool AddPackage(string folder, string package);
|
||||||
public IList<string> GetListedRuntimes();
|
public IList<string> GetListedRuntimes();
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace Semmle.Extraction.Tests
|
|||||||
|
|
||||||
public bool New(string folder) => true;
|
public bool New(string folder) => true;
|
||||||
|
|
||||||
public bool RestoreToDirectory(string project, string directory) => true;
|
public bool RestoreToDirectory(string project, string directory, string? pathToNugetConfig = null) => true;
|
||||||
|
|
||||||
public IList<string> GetListedRuntimes() => runtimes;
|
public IList<string> GetListedRuntimes() => runtimes;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user