fixed error with build nil
This commit is contained in:
parent
8946c2c610
commit
0cc05cff1f
@ -547,7 +547,9 @@ func (p *Project) run(path string, stream chan Response, stop <-chan bool) (err
|
|||||||
defer func() {
|
defer func() {
|
||||||
// https://github.com/golang/go/issues/5615
|
// https://github.com/golang/go/issues/5615
|
||||||
// https://github.com/golang/go/issues/6720
|
// https://github.com/golang/go/issues/6720
|
||||||
build.Process.Signal(os.Interrupt)
|
if build != nil {
|
||||||
|
build.Process.Signal(os.Interrupt)
|
||||||
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// custom error pattern
|
// custom error pattern
|
||||||
|
Loading…
Reference in New Issue
Block a user