Skip to content

Commit

Permalink
fix: detect-secrets-init-text (#101)
Browse files Browse the repository at this point in the history
Fixes Issue when running secureli init on an existing repo. The log
output indicates that the entire repo will be scanned for secrets but
the default behavior is to call detect-secrets without the `--all-files`
flag so that a baseline is created.

[#90 Running secureli init on existing repo does not appear to run full
scan](#90)
  • Loading branch information
stujfiter authored May 19, 2023
1 parent a1b6f5e commit dc1755c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secureli/actions/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def _install_secureli(self, folder_path: Path, always_yes: bool) -> VerifyResult

if secret_test_id := metadata.security_hook_id:
self.action_deps.echo.print(
f"{config.overall_language} supports secrets detection; running {secret_test_id} on the whole repo"
f"{config.overall_language} supports secrets detection; running {secret_test_id}."
)
self.action_deps.scanner.scan_repo(
ScanMode.ALL_FILES, specific_test=secret_test_id
Expand Down

0 comments on commit dc1755c

Please sign in to comment.