Skip to content

The Open Source DocuSign Alternative.

chore: tidy script

Mythie6ea38efd9d05
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