Skip to content

Commit

Permalink
removed irrelevant error
Browse files Browse the repository at this point in the history
  • Loading branch information
Devang Gaur committed Feb 18, 2021
1 parent 1d25c62 commit 1fa832f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions pkg/runtime/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,13 @@ import (
)

var (
errEmptyIacPath = fmt.Errorf("empty iac path, either use '-f' or '-d' option")
errDirNotExists = fmt.Errorf("directory does not exist")
errFileNotExists = fmt.Errorf("file does not exist")
errNotValidFile = fmt.Errorf("not a valid file")
errNotValidDir = fmt.Errorf("not a valid directory")
errIacNotSupported = fmt.Errorf("iac type or version not supported")
errCloudNotSupported = fmt.Errorf("cloud type not supported")
errSeverityNotSupported = fmt.Errorf("severity level not supported")
errEmptyIacPath = fmt.Errorf("empty iac path, either use '-f' or '-d' option")
errDirNotExists = fmt.Errorf("directory does not exist")
errFileNotExists = fmt.Errorf("file does not exist")
errNotValidFile = fmt.Errorf("not a valid file")
errNotValidDir = fmt.Errorf("not a valid directory")
errIacNotSupported = fmt.Errorf("iac type or version not supported")
errCloudNotSupported = fmt.Errorf("cloud type not supported")
)

// ValidateInputs validates the inputs to the executor object
Expand Down

0 comments on commit 1fa832f

Please sign in to comment.