Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bump failed release #705

Merged
merged 1 commit into from
Aug 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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