Skip to content

Commit f312089

Browse files
committed
Use filename instead of name for path joining in cmd/main.go
1 parent 06749bd commit f312089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"log"
77
"net/http"
88
"os"
9-
"path"
9+
"path/filepath"
1010
"reflect"
1111
"strconv"
1212
"time"
@@ -58,7 +58,7 @@ func getAPI(client client.HTTPClient, repo string) github.APIv3 {
5858

5959
func getCache(repo string) cache.Cache {
6060
return cache.FSCache{
61-
CachePath: path.Join(os.TempDir(), "pullkee_cache", repo),
61+
CachePath: filepath.Join(os.TempDir(), "pullkee_cache", repo),
6262
FS: RealFS{},
6363
}
6464
}

0 commit comments

Comments
 (0)