Format the lint-once resolver changes
All checks were successful
check / check (push) Successful in 34s

Reflow the heredoc RUN fixture array in the BuildKit heredoc test to
satisfy prettier --check, which rejected the single-line form. No
behavioural change to the tests or the resolver.
This commit is contained in:
clawbot
2026-09-04 10:31:40 +00:00
parent 8bf5138582
commit 9ed92e1231

View File

@@ -646,9 +646,13 @@ describe("the resolver reads what the shell would run", () => {
it("reads the body of a BuildKit heredoc RUN step", () => { it("reads the body of a BuildKit heredoc RUN step", () => {
expect( expect(
dockerRunCommands( dockerRunCommands(
["FROM scratch", "RUN <<EOF", "yarn run prettier --check .", "EOF", "RUN echo done"].join( [
"\n", "FROM scratch",
), "RUN <<EOF",
"yarn run prettier --check .",
"EOF",
"RUN echo done",
].join("\n"),
), ),
).toContain("yarn run prettier --check ."); ).toContain("yarn run prettier --check .");
}); });