Skip to content

Commit 18a60bb

Browse files
committed
fix err
1 parent 7544238 commit 18a60bb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ func main() {
3434
home := os.Getenv("HOME")
3535
profileFileLocation := getenv("AWS_CONFIG_FILE", fmt.Sprintf("%s/.aws/config", home))
3636
profiles := getProfiles(profileFileLocation)
37-
touch, err := touchFile(fmt.Sprintf("%s/.awsd", home))
37+
err := touchFile(fmt.Sprintf("%s/.awsd", home))
3838
if err != nil {
3939
log.Fatal(err)
4040
}
41-
4241
fmt.Printf(NoticeColor, "AWS Profile Switcher\n")
4342
prompt := promptui.Select{
4443
Label: fmt.Sprintf(PromptColor, "Choose a profile"),

0 commit comments

Comments
 (0)