fix(wordpress): wpscan.com unmarshal error (#1106)

* refactor(report): remove Integration.apply

* add an err check

* fix(wordpress): wpscan.com unmarshal error

* fix warnings
This commit is contained in:
Kota Kanbe
2020-12-29 07:11:04 +09:00
committed by GitHub
parent aaea15e516
commit f4253d74ae
3 changed files with 57 additions and 99 deletions

View File

@@ -319,6 +319,7 @@ func (c Config) ValidateOnTui() bool {
return len(errs) == 0
}
// ValidateOnSaaS validates configuration
func (c Config) ValidateOnSaaS() bool {
saaserrs := c.Saas.Validate()
for _, err := range saaserrs {