mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[Tests] Fix nvm unload fast test cleanup
This commit is contained in:
parent
e77ed07ccc
commit
23f5c45cfe
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user