Skip to content

Commit

Permalink
Use correct function call for error
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-mccoy committed Jun 8, 2022
1 parent 06a505d commit 57e4aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/initialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var initCmd = &cobra.Command{
if utils.InvalidPath(config.DeployOptions.PackagePath) {
executablePath, err := utils.GetFinalExecutablePath()
if err != nil {
message.Errorf(err, "Unable to get the directory where the zarf cli is located.")
message.Error(err, "Unable to get the directory where the zarf cli is located.")
}

executableDir := path.Dir(executablePath)
Expand Down

0 comments on commit 57e4aca

Please sign in to comment.