Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
fix: rename method to unmarshal json/yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Dec 13, 2019
1 parent 34d60fb commit 2698be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/addUsers.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var addUsersCmd = &cobra.Command{
os.Exit(1)
}
usersToCreate := make([]auth.NewUser, 0)
err = utils.UnmashalMarkupFile(sourceFile, sourceFileExtension, usersToCreate)
err = utils.UnmashalFormatFile(sourceFile, sourceFileExtension, usersToCreate)
if err != nil {
utils.StdOutError("Error decoding your config file: %s", err.Error())
os.Exit(1)
Expand Down

0 comments on commit 2698be7

Please sign in to comment.