Skip to content

Commit c2069dc

Browse files
author
James Brundage
committed
Core Transpiler: Stopping transpiling an item after any output (Fixes #280)
1 parent 6ff6d4a commit c2069dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Transpilers/Core/Pipescript.psx.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ process {
258258
$AstReplacements[$item] = $pso # and store the replacement.
259259
}
260260
}
261+
# If the transpiler had output, do not process any more transpilers.
262+
if ($pipeScriptOutput) { break }
261263
}
262264
}
263265
}

0 commit comments

Comments
 (0)