Skip to content

Commit a18b179

Browse files
committed
emitter fix
1 parent 0a51fd3 commit a18b179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ConsoleAppFramework/Emitter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public void EmitRun(SourceBuilder sb, CommandWithId commandWithId, bool isRunAsy
9595
cancellationTokenName = "posixSignalHandler.Token";
9696
}
9797

98-
if (hasConsoleAppContext || emitForBuilder)
98+
if (hasConsoleAppContext || (emitForBuilder && !command.HasFilter))
9999
{
100100
if (emitForBuilder)
101101
{

0 commit comments

Comments
 (0)