Closed cdaringe closed 7 months ago
in my file, Dockerfile.foo (which VSCode correctly identifies as Docker) slashes are incorrectly removed.
Dockerfile.foo
E.g.
RUN echo "${alpineHost}/ark/apk/published/alpine/${alpineVersion}/whatever/main" >/etc/apk/repositories && \ some_other_cmd
gets formatted to:
RUN echo "${alpineHost}/ark/apk/published/alpine/${alpineVersion}/whatever/main" >/etc/apk/repositories && some_other_cmd
Which is incorrect.
i now see this is shfmt behavior 🤔
shfmt
dupe with #304
Problem
in my file,
Dockerfile.foo
(which VSCode correctly identifies as Docker) slashes are incorrectly removed.E.g.
gets formatted to:
Which is incorrect.