diff --git a/config/config.go b/config/config.go index cc5ffd10..92629210 100644 --- a/config/config.go +++ b/config/config.go @@ -177,13 +177,6 @@ func (c Config) ValidateOnConfigtest() bool { func (c Config) ValidateOnScan() bool { errs := c.checkSSHKeyExist() - if len(c.ResultsDir) != 0 { - if ok, _ := valid.IsFilePath(c.ResultsDir); !ok { - errs = append(errs, xerrors.Errorf( - "JSON base directory must be a *Absolute* file path. -results-dir: %s", c.ResultsDir)) - } - } - if runtime.GOOS == "windows" && !c.SSHNative { errs = append(errs, xerrors.New("-ssh-native-insecure is needed on windows")) }