Skip to content

Commit

Permalink
[Tests] Fix nvm unload fast test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
reasonablytall authored and ljharb committed Oct 23, 2020
1 parent 0f0d5e8 commit f2c5ce4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -ex
BEFORE="./before.tmp"
AFTER="./after.tmp"

cleanup () { echo rm -f "${BEFORE}" "${AFTER}"; }
cleanup () { rm -f "${BEFORE}" "${AFTER}"; }
die () { echo "$@" ; cleanup ; exit 1; }

typeset -f | awk '/ \(\) $/ && !/^main / {print $1}' > "${BEFORE}"
Expand Down

0 comments on commit f2c5ce4

Please sign in to comment.