Skip to content

Commit

Permalink
hotfix: change delete command
Browse files Browse the repository at this point in the history
  • Loading branch information
seoljiwon committed Apr 28, 2023
1 parent 6859940 commit 7a2934a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/save/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/save/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/save/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function run(): Promise<void> {

if (cleanKey) {
await exec(
`/bin/bash -c "find ${cacheBase} -maxdepth 1 -name '${cleanKey}*' -type d -atime +${CLEAN_TIME} -delete"`
`/bin/bash -c "find ${cacheBase} -maxdepth 1 -name '${cleanKey}*' -type d -atime +${CLEAN_TIME} -exec rm -rf {} +"`
)
}
} catch (error) {
Expand Down

0 comments on commit 7a2934a

Please sign in to comment.