Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
obvionaoe committed Apr 26, 2024
1 parent acf791f commit 1e126dd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ import (
)

var (
browser string
browserProfilesFile string
sort bool
rofiCmd string
browser string
sort bool
rofiCmd string
)

// rootCmd represents the base command when called without any subcommands
Expand Down Expand Up @@ -85,6 +84,10 @@ func run(cmd *cobra.Command, args []string) {
}

profilesFile, err := expandTilde(profilesFile)
if err != nil {
log.Fatal(err)
}

profiles, err := getProfiles(profilesFile)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 1e126dd

Please sign in to comment.