Skip to content

Commit

Permalink
fix: change misspelled error messages (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
johncblandii authored Nov 15, 2021
1 parent 84e9fd0 commit 9a96c3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/exec/helmfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func ExecuteHelmfile(cmd *cobra.Command, args []string) error {
componentPath := path.Join(c.ProcessedConfig.HelmfileDirAbsolutePath, info.ComponentFolderPrefix, info.Component)
componentPathExists, err := utils.IsDirectory(componentPath)
if err != nil || !componentPathExists {
return errors.New(fmt.Sprintf("Component '%s' does not exixt in %s",
return errors.New(fmt.Sprintf("Component '%s' does not exist in %s",
info.Component,
path.Join(c.ProcessedConfig.HelmfileDirAbsolutePath, info.ComponentFolderPrefix),
))
Expand Down
2 changes: 1 addition & 1 deletion internal/exec/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func ExecuteTerraform(cmd *cobra.Command, args []string) error {
componentPath := path.Join(c.ProcessedConfig.TerraformDirAbsolutePath, info.ComponentFolderPrefix, finalComponent)
componentPathExists, err := utils.IsDirectory(componentPath)
if err != nil || !componentPathExists {
return errors.New(fmt.Sprintf("Component '%s' does not exixt in %s",
return errors.New(fmt.Sprintf("Component '%s' does not exist in %s",
finalComponent,
path.Join(c.ProcessedConfig.TerraformDirAbsolutePath, info.ComponentFolderPrefix),
))
Expand Down

0 comments on commit 9a96c3f

Please sign in to comment.