Skip to content

Commit

Permalink
chore: add return obj at end of function; add yaml alias
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSmith123 committed Jul 23, 2021
1 parent 31913de commit b7da183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/vesoft-inc/nebula-importer/pkg/base"
ierrors "github.com/vesoft-inc/nebula-importer/pkg/errors"
"github.com/vesoft-inc/nebula-importer/pkg/logger"
"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
)

type NebulaClientConnection struct {
Expand Down Expand Up @@ -366,7 +366,7 @@ func (f *File) expandFiles(dir string) (err error, files []*File) {
}
}

return
return err, files
}

func (c *CSVConfig) validateAndReset(prefix string) error {
Expand Down

0 comments on commit b7da183

Please sign in to comment.