From 6ea38efd9d05e20a351657414bdcbf7d627cc991 Mon Sep 17 00:00:00 2001 From: Mythie Date: Sun, 9 Apr 2023 22:36:28 +1000 Subject: [PATCH] chore: tidy script --- scripts/dx.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/dx.sh b/scripts/dx.sh index 94dcfbdf6..b43c25339 100755 --- a/scripts/dx.sh +++ b/scripts/dx.sh @@ -26,7 +26,7 @@ fi pushd "$MONOREPO_ROOT" >/dev/null # On failure popd back to the original directory -trap "popd >/dev/null" EXIT +trap "popd" EXIT # If we have received the -down or -d flag, stop the containers if [ "$1" = "-down" ] || [ "$1" = "-d" ]; then @@ -43,6 +43,3 @@ npm ci npm run db-migrate:dev echo "All done! You can now start the app with: npm run dev" - -# Return to the original directory -popd >/dev/null