mirror of
https://github.com/Prowlarr/Indexers.git
synced 2025-12-24 13:08:27 +00:00
Fixed: shellcheck warnings for venv sourcing and unused variables
This commit is contained in:
committed by
bakerboy448
parent
48a426ab61
commit
b6ffad5692
@@ -20,9 +20,11 @@ if [ -d ".venv" ]; then
|
||||
echo "Activating virtual environment"
|
||||
if [ -f ".venv/bin/activate" ]; then
|
||||
# Linux/Mac
|
||||
# shellcheck disable=SC1091
|
||||
source .venv/bin/activate
|
||||
elif [ -f ".venv/Scripts/activate" ]; then
|
||||
# Windows
|
||||
# shellcheck disable=SC1091
|
||||
source .venv/Scripts/activate
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user