fix(report): prioritize env vars over config.toml (#1194)

This commit is contained in:
Kota Kanbe
2021-03-10 07:39:58 +09:00
committed by GitHub
parent 54e73c2f54
commit 5d47adb5c9
5 changed files with 22 additions and 29 deletions

View File

@@ -134,7 +134,7 @@ func (c Config) checkSSHKeyExist() (errs []error) {
}
// ValidateOnReport validates configuration
func (c Config) ValidateOnReport() bool {
func (c *Config) ValidateOnReport() bool {
errs := []error{}
if len(c.ResultsDir) != 0 {