Skip to content

Commit 7df630d

Browse files
committed
Update PublishCommand.cs
Keep previous method signature for backwards compatibility
1 parent f09136c commit 7df630d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ public PublishCommand(ScriptConsole scriptConsole, LogFactory logFactory)
1717
_logFactory = logFactory;
1818
}
1919

20+
public void Execute(PublishCommandOptions options)
21+
{
22+
Execute<int>(options);
23+
}
24+
2025
public void Execute<TReturn>(PublishCommandOptions options)
2126
{
2227
var absoluteFilePath = options.File.Path;

0 commit comments

Comments
 (0)