mirror of
https://github.com/actions/runner.git
synced 2026-01-04 09:00:34 +08:00
Update src/Runner.Worker/FileCommandManager.cs
Co-authored-by: Cory Miller <13227161+cory-miller@users.noreply.github.com>
This commit is contained in:
@@ -329,11 +329,11 @@ namespace GitHub.Runner.Worker
|
|||||||
var isHeredoc = heredocIndex >= 0 &&
|
var isHeredoc = heredocIndex >= 0 &&
|
||||||
(
|
(
|
||||||
equalsIndex < 0 ||
|
equalsIndex < 0 ||
|
||||||
|
heredocIndex < equalsIndex ||
|
||||||
(
|
(
|
||||||
heredocIndex > equalsIndex &&
|
heredocIndex > equalsIndex &&
|
||||||
OnlyContainsWhiteSpaceBetweenPositions(line, equalsIndex, heredocIndex)
|
OnlyContainsWhiteSpaceBetweenPositions(line, equalsIndex, heredocIndex)
|
||||||
) ||
|
)
|
||||||
heredocIndex < equalsIndex
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isHeredoc)
|
if (isHeredoc)
|
||||||
|
|||||||
Reference in New Issue
Block a user