Skip to content

Commit

Permalink
fix: bump failed release (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
hspitzley-czi authored Aug 8, 2022
1 parent fbbcfc5 commit a8d0d6b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ func userPrompt(cmd *cobra.Command) (*FoggProject, error) {
if err != nil {
return nil, err
}
// check whether the flag was passed for bucket because bucket isn't required
// so this allows passing empty string to bypass the user prompt
// check whether the bucket flag was passed
// bucket isn't required so this allows passing empty string to bypass the user prompt
if bucket == "" && !isFlagPassed(cmd, "bucket") {
bucket = prompt.String("infra bucket name?")
}
Expand All @@ -72,8 +72,8 @@ func userPrompt(cmd *cobra.Command) (*FoggProject, error) {
if err != nil {
return nil, err
}
// check whether the flag was passed for table because table isn't required
// so this allows passing empty string to bypass the user prompt
// check whether the table flag was passed
// table isn't required so this allows passing empty string to bypass the user prompt
if table == "" && !isFlagPassed(cmd, "table") {
table = prompt.String("infra dynamo table name?")
}
Expand All @@ -85,8 +85,8 @@ func userPrompt(cmd *cobra.Command) (*FoggProject, error) {
if err != nil {
return nil, err
}
// check whether the flag was passed for profile because profile isn't required
// so this allows passing empty string to bypass the user prompt
// check whether the profile flag was passed
// profile isn't required so this allows passing empty string to bypass the user prompt
if profile == "" && !isFlagPassed(cmd, "profile") {
profile = prompt.String("auth profile?")
}
Expand Down

0 comments on commit a8d0d6b

Please sign in to comment.