Fixing crash
This commit is contained in:
parent
046249a524
commit
caf9644d50
@ -126,7 +126,7 @@ func (gs *goldsmith) referenceFile(path string) {
|
|||||||
|
|
||||||
func (gs *goldsmith) fault(f *file, err error) {
|
func (gs *goldsmith) fault(f *file, err error) {
|
||||||
gs.errorMtx.Lock()
|
gs.errorMtx.Lock()
|
||||||
gs.errors = append(gs.errors, &Error{f.path, err})
|
gs.errors = append(gs.errors, &Error{f, err})
|
||||||
gs.errorMtx.Unlock()
|
gs.errorMtx.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user