Skip to content

Commit

Permalink
fix: move verify command func to the correct file
Browse files Browse the repository at this point in the history
  • Loading branch information
omissis committed Aug 16, 2022
1 parent 7a74aea commit 7540ba4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"path/filepath"
"strings"

"github.com/mitchellh/cli"
"golang.org/x/exp/slices"
"gopkg.in/yaml.v3"
)
Expand All @@ -23,10 +22,6 @@ func (i *configFiles) Set(value string) error {
return nil
}

func VerifyFactory() (cli.Command, error) {
return &verifyCommand{}, nil
}

func getWd() string {
cwd, err := os.Getwd()
if err != nil {
Expand Down
6 changes: 6 additions & 0 deletions cmd/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ import (
"log"
"os"
"path/filepath"

"github.com/mitchellh/cli"
)

func VerifyFactory() (cli.Command, error) {
return &verifyCommand{}, nil
}

type verifyCommand struct {
configFiles configFiles
output string
Expand Down

0 comments on commit 7540ba4

Please # to comment.