You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Changed
A path that does not exist now exits 2.equall scan <path> used to exit 0 when
the path did not exist: it printed "No scannable files found", or with --json an empty
report scored 100. A typo in a CI step therefore passed without scanning anything. It now
prints path not found on stderr and exits 2 (the scan could not run). With --diff it
already exited 2, but on a misleading git-ref error; the message is now the same. A path
that is a file exits 2 with not a directory instead of a generic error. An existing
folder with no scannable files still exits 0. CI impact: a pipeline pointing at a
wrong path now fails; fix the path.
Fixed
The page-level hint now names the right package. It suggested npx equall scan <build-dir>, which only works when equall-cli is installed locally; without it, npx
looks for a package named equall. The hint now reads npx equall-cli scan <build-dir>.
UncheckedFile is exported from the package root, so the type of ScanResult.unchecked can be imported (import type { UncheckedFile } from 'equall-cli').