Skip to content

Commit

Permalink
validate: Port validate to the new VM constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
dlespiau committed Oct 28, 2019
1 parent 93c2b18 commit 5d497de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ func validateArgs(cmd *cobra.Command, args []string) error {
}

func validate(cmd *cobra.Command, args []string) {
vm := newVM(&validateOptions.vmOptions)
vm.SetWorkingDirectory(".")
vm := newVM(&validateOptions.vmOptions, ".")

inputs := make(map[string]interface{})
for _, f := range args[1:] {
Expand Down

0 comments on commit 5d497de

Please sign in to comment.