Fix module imports in run-analysis
This commit is contained in:
parent
086920339a
commit
0a05f0c010
3 changed files with 7 additions and 6 deletions
|
@ -20,13 +20,13 @@ fi
|
|||
|
||||
# Run analysis helpers
|
||||
echo "[INFO] Checking for missing domains..."
|
||||
python scripts/analyze.py check-missing-domains
|
||||
python -m scripts.analyze check-missing-domains
|
||||
|
||||
echo "[INFO] Suggesting cache improvements..."
|
||||
python scripts/analyze.py suggest-cache
|
||||
python -m scripts.analyze suggest-cache
|
||||
|
||||
echo "[INFO] Detecting threats..."
|
||||
python scripts/analyze.py detect-threats
|
||||
python -m scripts.analyze detect-threats
|
||||
|
||||
# Deactivate to keep cron environment clean
|
||||
if type deactivate >/dev/null 2>&1; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue