Skip to content

Commit

Permalink
Fix shellcheck issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Dec 7, 2023
1 parent 8823460 commit e6b6818
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docker/tna-python-dev/bin/dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

python -m pip install --quiet black==23.7.0 flake8==6.1.0 isort==5.12.0

cd /app || return

. "$HOME/.nvm/nvm.sh"
if [ -f "/app/.nvmrc" ]
then
cd /app
nvm install
else
nvm use lts/iron
Expand Down
2 changes: 1 addition & 1 deletion docker/tna-python-dev/bin/format
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

cd /app
cd /app || return

echo "Running isort..."
isort --settings-file /home/app/.isort.cfg /app --overwrite-in-place
Expand Down
2 changes: 1 addition & 1 deletion docker/tna-python-dev/bin/upgrade
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

cd /app
cd /app || return

poetry update

Expand Down

0 comments on commit e6b6818

Please sign in to comment.