Skip to content

Commit eebca41

Browse files
committed
fix : override cli lib when version is unmatched
1 parent f73872f commit eebca41

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

util.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ import (
88
func writeLib(libDir, libFullName string, content []byte, versionMatched bool) error {
99
libFullPath := filepath.Join(libDir, libFullName)
1010
_, err := os.Stat(libFullPath)
11-
if err == nil {
12-
return nil
13-
}
1411
if os.IsNotExist(err) || !versionMatched {
1512
err = os.MkdirAll(libDir, 0777)
1613
if err != nil {

0 commit comments

Comments
 (0)