Skip to content

Commit

Permalink
refactoring cli package
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf Kanchwala committed Jul 26, 2020
1 parent de76066 commit b22944e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cli/run.go
Expand Up @@ -8,7 +8,10 @@ import (
func Run(iacType, iacVersion, cloudType, iacFilePath, iacDirPath string) {

// create a new runtime executor for processing IaC
executor := runtime.NewExecutor(iacType, iacVersion, cloudType, iacFilePath,
executor, err := runtime.NewExecutor(iacType, iacVersion, cloudType, iacFilePath,
iacDirPath)
if err != nil {
return
}
executor.Execute()
}

0 comments on commit b22944e

Please sign in to comment.