Skip to content

Commit

Permalink
Escape spaces in stubs when uninstalling
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs authored and mxcl committed Sep 6, 2024
1 parent eeac8ee commit 01ca8db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modes/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default async function(pkgs: PackageRequirement[]) {
${exec}
else
cd "$(dirname "$0")"
rm ${programs.join(' ')} && echo "uninstalled: ${pkgstr}" >&2
rm -f ${programs.map(p => `'${p}'`).join(' ')} && echo "uninstalled: ${pkgstr}" >&2
fi`
const f = dst.mkdir('p').join(program)

Expand Down

0 comments on commit 01ca8db

Please sign in to comment.