Format the lint-once resolver changes
All checks were successful
check / check (push) Successful in 34s
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:
@@ -646,9 +646,13 @@ describe("the resolver reads what the shell would run", () => {
|
||||
it("reads the body of a BuildKit heredoc RUN step", () => {
|
||||
expect(
|
||||
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 .");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user