Update src/Runner.Worker/FileCommandManager.cs

Co-authored-by: Cory Miller <[email protected]>
This commit is contained in:
Ben Wells
2023-07-26 10:39:36 -04:00
committed by GitHub
co-authored by Cory Miller
parent 76e2904c63
commit 184098ac5d
+2 -2
View File
@@ -329,11 +329,11 @@ namespace GitHub.Runner.Worker
var isHeredoc = heredocIndex >= 0 &&
(
equalsIndex < 0 ||
heredocIndex < equalsIndex ||
(
heredocIndex > equalsIndex &&
OnlyContainsWhiteSpaceBetweenPositions(line, equalsIndex, heredocIndex)
) ||
heredocIndex < equalsIndex
)
);
if (isHeredoc)