Skip to content

Commit

Permalink
Merge pull request #209 from l3montree-dev/188-pipeline-warning-env-n…
Browse files Browse the repository at this point in the history
…o-such-file-or-directory-despite-no-requirement

fixes #188
  • Loading branch information
timbastin authored Nov 7, 2024
2 parents 8a0fe49 + d819cc3 commit 131734f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/devguard-scanner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,7 @@ func scaCommandFactory(scanType string) func(cmd *cobra.Command, args []string)
os.Exit(1)
}

err := core.LoadConfig()
if err != nil {
slog.Warn("could not initialize config", "err", err)
}
core.LoadConfig() // nolint:errcheck // just swallow the error: https://github.com/l3montree-dev/devguard/issues/188

path, err := cmd.Flags().GetString("path")
if err != nil {
Expand Down

0 comments on commit 131734f

Please sign in to comment.