diff --git a/worker/awsCertlint/awsCertlint.go b/worker/awsCertlint/awsCertlint.go index 695d94e83..340712188 100644 --- a/worker/awsCertlint/awsCertlint.go +++ b/worker/awsCertlint/awsCertlint.go @@ -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}) }