Skip to content

Commit

Permalink
Update config.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wander committed Mar 1, 2022
1 parent e44fa2a commit 120ae02
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"fmt"
"log"
"os"
"path"
"path/filepath"
"runtime"

Expand Down Expand Up @@ -54,7 +53,7 @@ func InitConf() error {
base.AddConfigPath(".")
base.SetConfigName(ConfFileName)
base.SetConfigType("toml")
tmpPath := path.Dir("tmp/")
tmpPath := "tmp/"
tmpBin := "tmp_bin"
if runtime.GOOS == "windows" {
tmpBin = "tmp_bin.exe"
Expand Down

0 comments on commit 120ae02

Please sign in to comment.