Skip to content

Commit

Permalink
add comment explaining issue
Browse files Browse the repository at this point in the history
  • Loading branch information
therealpaulgg committed Apr 25, 2023
1 parent fe37cef commit a407108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/actions/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ func newAccountSetup(serverUrl *url.URL) error {
// ask user to pick a name for this machine (default to current system name)
fmt.Print("Please enter a name for this machine: ")
var machineName string
// need to not use scanln https://stackoverflow.com/questions/43843477/scanln-in-golang-doesnt-accept-whitespace
if _, err := fmt.Scanln(&machineName); err != nil {
return err
}
Expand Down

0 comments on commit a407108

Please sign in to comment.