Skip to content

Commit

Permalink
fix goto placement
Browse files Browse the repository at this point in the history
  • Loading branch information
ngn13 committed Mar 6, 2024
1 parent 3e479f7 commit 33586e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmds/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ func Add() bool {

master := GetMaster()

USER:
err := config.LoadEntries(master)
if err != nil {
lib.ErrorMsg("Failed to load entries", err)
Expand All @@ -41,6 +40,7 @@ USER:
return false
}

USER:
entry.User = lib.Input("Enter a username")
if entry.User == "" {
lib.Error("Username cannot be empty")
Expand Down

0 comments on commit 33586e8

Please sign in to comment.