Skip to content

Commit

Permalink
fix err
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Sep 22, 2023
1 parent 7544238 commit 18a60bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ func main() {
home := os.Getenv("HOME")
profileFileLocation := getenv("AWS_CONFIG_FILE", fmt.Sprintf("%s/.aws/config", home))
profiles := getProfiles(profileFileLocation)
touch, err := touchFile(fmt.Sprintf("%s/.awsd", home))
err := touchFile(fmt.Sprintf("%s/.awsd", home))
if err != nil {
log.Fatal(err)
}

fmt.Printf(NoticeColor, "AWS Profile Switcher\n")
prompt := promptui.Select{
Label: fmt.Sprintf(PromptColor, "Choose a profile"),
Expand Down

0 comments on commit 18a60bb

Please sign in to comment.