lint: fix lint errors

This commit is contained in:
Rohit T P
2024-05-02 11:38:59 +00:00
parent 2365164b92
commit b11c92902e
3 changed files with 20 additions and 19 deletions

View File

@@ -6,12 +6,12 @@ export NOCO_HOME
WORKING_DIR="$(pwd)"
setup() {
cd "${WORKING_DIR}"
cd "${WORKING_DIR}" || exit 1
./setup.sh
}
teardown() {
cd "${WORKING_DIR}"
cd "${WORKING_DIR}" || exit 1
./setup.sh
}

View File

@@ -5,8 +5,8 @@ if [ -z "$NOCO_HOME" ]; then
fi
if [ -d "$NOCO_HOME" ]; then
cd $NOCO_HOME
cd "$NOCO_HOME" || exit
docker compose down
fi
rm -rf $NOCO_HOME
rm -rf "$NOCO_HOME"