Skip to content

Commit

Permalink
rm-junk, rm-modules: fix bad deprecation code
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Jan 23, 2025
1 parent b7df848 commit df03da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commands.deprecated/rm-junk
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function rm_junk() (
# =====================================
# Action

fs-trim --cache --empty-directories="$option_empty" -- "$path"
fs-trim --cache --empty-directories="$option_empty" -- "${option_paths[@]}"
return
)

Expand Down
2 changes: 1 addition & 1 deletion commands.deprecated/rm-modules
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function rm_modules() (
# =====================================
# Action

fs-trim --module --empty-directories="$option_empty" -- "$path"
fs-trim --module --empty-directories="$option_empty" -- "${option_paths[@]}"
return
)

Expand Down

0 comments on commit df03da8

Please sign in to comment.