Skip to content

Commit

Permalink
worker/awsCertlint: allow override for certlint directory
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdecaf committed Mar 29, 2018
1 parent d0467d7 commit 7650959
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions worker/awsCertlint/awsCertlint.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ type Result struct {
}

func init() {
// override certlintDirectory if TLS_AWSCERTLINT_DIR
if path := os.Getenv("TLS_AWSCERTLINT_DIR"); path != "" {
certlintDirectory = path
}

runner := new(eval)
worker.RegisterWorker(workerName, worker.Info{Runner: runner, Description: workerDesc})
}
Expand Down

0 comments on commit 7650959

Please sign in to comment.