File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ func RepoDir() string {
18
18
if err != nil {
19
19
log .Fatalln ("gibo can't determine your user cache directory. Please file an issue at https://github.com/simonwhitaker/gibo/issues" )
20
20
}
21
- return filepath .Join (cacheDir , "gibo" )
21
+ return filepath .Join (cacheDir , "gibo" , "gitignore-boilerplates" )
22
22
}
23
23
24
24
func cloneRepo (repo string ) error {
@@ -56,7 +56,7 @@ func pathForBoilerplate(name string) (string, error) {
56
56
filename := name + ".gitignore"
57
57
var result string = ""
58
58
filepath .WalkDir (RepoDir (), func (path string , d fs.DirEntry , err error ) error {
59
- if strings .ToLower (filepath .Base (path )) == strings . ToLower ( filename ) {
59
+ if strings .EqualFold (filepath .Base (path ), filename ) {
60
60
result = path
61
61
// Exit WalkDir early, we've found our match
62
62
return filepath .SkipAll
You can’t perform that action at this time.
0 commit comments