mirror of
https://github.com/golang/go
synced 2024-11-18 16:04:44 -07:00
internal/testenv: do not delete target file
We did not create it. We should not delete it. Change-Id: If98454ab233ce25367e11a7c68d31b49074537dd Reviewed-on: https://go-review.googlesource.com/37030 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
2770c507a5
commit
a8dc43edd1
@ -30,7 +30,6 @@ func initWinHasSymlink() {
|
||||
winSymlinkErr = err
|
||||
}
|
||||
}
|
||||
os.Remove("target")
|
||||
}
|
||||
|
||||
func hasSymlink() (ok bool, reason string) {
|
||||
|
Loading…
Reference in New Issue
Block a user