Skip to content

Commit 84b3bbb

Browse files
Add "|| exit" where needed
1 parent fd567cb commit 84b3bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/bin/bash
22
# Runs the build plugins script on the test vault.
33

4-
pushd "$(dirname "${BASH_SOURCE[0]}")"/.. > /dev/null
4+
pushd "$(dirname "${BASH_SOURCE[0]}")"/.. > /dev/null || exit
55

66
. ./src/install_obsidian_plugins.sh --source-only
77

88
install_obsidian_plugins test source
99

10-
popd > /dev/null
10+
popd > /dev/null || exit

0 commit comments

Comments
 (0)