mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 09:07:21 +01:00
Include info in the lock
This commit is contained in:
parent
602f386b03
commit
86ef1ec077
2
vcs.go
2
vcs.go
@ -130,13 +130,13 @@ func updateVCSData(pkgName string, sources []gosrc.ArchString, mux *sync.Mutex,
|
||||
return
|
||||
}
|
||||
|
||||
mux.Lock()
|
||||
info[url] = shaInfo{
|
||||
protocols,
|
||||
branch,
|
||||
commit,
|
||||
}
|
||||
|
||||
mux.Lock()
|
||||
savedInfo[pkgName] = info
|
||||
fmt.Println(bold(yellow(arrow)) + " Found git repo: " + cyan(url))
|
||||
saveVCSInfo()
|
||||
|
Loading…
Reference in New Issue
Block a user