Skip to content

Commit

Permalink
chore: fix return err + err handling statement
Browse files Browse the repository at this point in the history
  • Loading branch information
nermalcat69 committed Oct 9, 2024
1 parent 4252a56 commit 17b91c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/cmd/projectImport.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func projectImportCmd() *cmdBuilder.Cmd {
projectOutput, err := importProjectResponse.Output()
if err != nil {
uxBlocks.PrintError(styles.ErrorLine(i18n.T(i18n.ProjectImportFailed)))
return err
}

var processes []uxHelpers.Process
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ at https://docs.zerops.io/references/cli for further details.`,

// import
ImportYamlOk: "Yaml file was checked",
ImportYamlEmpty: "The config foo.yml file is empty. For more information, please visit https://docs.zerops.io/references/import/.",
ImportYamlEmpty: "The config import yaml file is empty. For more information, please visit https://docs.zerops.io/references/import/.",
ImportYamlTooLarge: "Max. size of import yaml is 100 KB",
ImportYamlFound: "Import yaml found",
ImportYamlNotFound: "Import yaml not found",
Expand Down

0 comments on commit 17b91c3

Please sign in to comment.