Repository hygiene
Code imports a file git ignores (missing on deploy)launch.import-gitignored-file
An import resolves to a file that exists on your disk but matches a .gitignore rule (often `lib/` from a Python template), so it was never committed and the build server fails with "Module not found". Files a build step generates are not reported.
- In force Rule launch.import-gitignored-file
- 3 clauses
At a glance
| Severity | medium |
|---|---|
| Certainty | Needs review — a heuristic; confirm before changing code |
| Looks at | your git history |
| When it runs | Runs on every scan |
How to fix it
Narrow or anchor the ignore rule (or add a `!path` exception), then git add the file and commit.
Check your own app
Run npx scanlyfix scan in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.
If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line launch.import-gitignored-file -- <why>.
Your code stays
on your machine
Only findings are uploaded, and only to your own dashboard.
ScanlyFix
Security, privacy pages, SEO and AI visibility checked in one scan, with fixes your AI editor can apply.
Home