Skip to content

Commit

Permalink
remove ls command
Browse files Browse the repository at this point in the history
Signed-off-by: Terry Wong <[email protected]>
  • Loading branch information
ty2 committed Nov 7, 2024
1 parent 6a82c00 commit 575fdc1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/extract-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ FROM busybox:1
COPY buildstamp buildstamp
RUN --mount=${mountArgs} \
mkdir -p /var/dance-cache/ \
ls -alh ${targetPath} && \
&& cp -p -R ${targetPath}/. /var/dance-cache/ || true
`;
await fs.writeFile(path.join(scratchDir, 'Dancefile.extract'), dancefileContent);
Expand Down
1 change: 0 additions & 1 deletion src/inject-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ FROM busybox:1
COPY buildstamp buildstamp
RUN --mount=${mountArgs} \
--mount=type=bind,source=.,target=/var/dance-cache \
ls -alh ${targetPath} && \
cp -p -R /var/dance-cache/. ${targetPath} ${ownershipCommand} || true
`;
await fs.writeFile(path.join(scratchDir, 'Dancefile.inject'), dancefileContent);
Expand Down

0 comments on commit 575fdc1

Please sign in to comment.