Skip to content

Commit 01dcbac

Browse files
committed
Some minor cleanup
1 parent 84eb05d commit 01dcbac

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Dotnet.Script.Core/Commands/ExecuteScriptCommand.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ private async Task<TReturn> DownloadAndRunCode<TReturn>(ExecuteScriptCommandOpti
4343
return await new ExecuteCodeCommand(_scriptConsole, _logFactory).Execute<TReturn>(options);
4444
}
4545

46-
4746
private string GetLibrary(ExecuteScriptCommandOptions executeOptions)
4847
{
4948
var projectFolder = FileUtils.GetPathToTempFolder(Path.GetDirectoryName(executeOptions.File.Path));

src/Dotnet.Script.Tests/ExecutionCacheTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void ShouldNotCreateHashWhenScriptIsNotCacheable()
5858
{
5959
var pathToScript = Path.Combine(scriptFolder.Path, "main.csx");
6060

61-
WriteScript(pathToScript, "#r \"nuget:AutoMapper, 7.0\"" ,"WriteLine(42);");
61+
WriteScript(pathToScript, "#r \"nuget:AutoMapper, *\"" ,"WriteLine(42);");
6262

6363
var result = Execute(pathToScript);
6464
Assert.Contains("42", result.output);
@@ -67,7 +67,6 @@ public void ShouldNotCreateHashWhenScriptIsNotCacheable()
6767
}
6868
}
6969

70-
7170
private static (string output, string hash) Execute(string pathToScript)
7271
{
7372
var result = ScriptTestRunner.Default.Execute(pathToScript);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy