Skip to content

Commit

Permalink
missing bit from scope reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
hurzhurz committed Apr 30, 2024
1 parent 12da160 commit 5c31b76
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ func runToken(cmd *cobra.Command, args []string) {
log.FATAL.Fatal(err)
}

// setup environment
if err := configureEnvironment(cmd, conf); err != nil {
log.FATAL.Fatal(err)
}

var vehicleConf config.Named
if len(conf.Vehicles) == 1 {
vehicleConf = conf.Vehicles[0]
Expand Down Expand Up @@ -78,6 +73,4 @@ func runToken(cmd *cobra.Command, args []string) {
fmt.Println(" tokens:")
fmt.Println(" access:", token.AccessToken)
fmt.Println(" refresh:", token.RefreshToken)

<-shutdownDoneC()
}

0 comments on commit 5c31b76

Please sign in to comment.