Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Semmle.Util;
Expand All @@ -7,7 +7,7 @@ namespace Semmle.BuildAnalyser
{
internal interface IDotNet
{
bool RestoreToDirectory(string project, string directory);
bool RestoreToDirectory(string project, string directory, string? pathToNugetConfig = null);
bool New(string folder);
bool AddPackage(string folder, string package);
public IList<string> GetListedRuntimes();
Expand Down
2 changes: 1 addition & 1 deletion csharp/extractor/Semmle.Extraction.Tests/Runtime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ internal class DotNetStub : IDotNet

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;
}
Expand Down