Skip to content

Commit 583489b

Browse files
authored
chore: update #441 test case (#443)
1 parent 1c2ad5e commit 583489b

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

packages/sh/test/__snapshots__/fixtures.spec.ts.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,8 +882,10 @@ exports[`parser and printer > should format 398.Dockerfile fixtures > 398.Docker
882882
`;
883883
884884
exports[`parser and printer > should format 441.Dockerfile fixtures > 441.Dockerfile 1`] = `
885-
"RUN # cleanup
886-
ls -la
885+
"RUN # install dependencies
886+
NODE_ENV=production npm install-clean \\
887+
# cleanup
888+
&& /usr/bin/env bash <(curl -fsSL https://raw.githubusercontent.com/softvisio/scripts/main/env-build-node.sh) cleanup
887889
"
888890
`;
889891
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
RUN \
2+
# install dependencies
3+
NODE_ENV=production npm install-clean \
4+
\
25
# cleanup
3-
ls -la
6+
&& /usr/bin/env bash <(curl -fsSL https://raw.githubusercontent.com/softvisio/scripts/main/env-build-node.sh) cleanup

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5607,9 +5607,9 @@ __metadata:
56075607
linkType: hard
56085608

56095609
"abbrev@npm:^3.0.0":
5610-
version: 3.0.0
5611-
resolution: "abbrev@npm:3.0.0"
5612-
checksum: 10c0/049704186396f571650eb7b22ed3627b77a5aedf98bb83caf2eac81ca2a3e25e795394b0464cfb2d6076df3db6a5312139eac5b6a126ca296ac53c5008069c28
5610+
version: 3.0.1
5611+
resolution: "abbrev@npm:3.0.1"
5612+
checksum: 10c0/21ba8f574ea57a3106d6d35623f2c4a9111d9ee3e9a5be47baed46ec2457d2eac46e07a5c4a60186f88cb98abbe3e24f2d4cca70bc2b12f1692523e2209a9ccf
56135613
languageName: node
56145614
linkType: hard
56155615

0 commit comments

Comments
 (0)