1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:24:50 -07:00
go/refactor
David R. Jenni 4968197297 x/tools/refactor/rename: fix nil pointer dereference.
Fix a nil pointer dereference by checking the error returned by
conf.Load.

Bug was reported on Reddit:
https://www.reddit.com/r/golang/comments/5vo0fb/

Change-Id: I2ad6f03922b772f03e282a0af6eea24f8de9cef8
Reviewed-on: https://go-review.googlesource.com/37432
Reviewed-by: Alan Donovan <adonovan@google.com>
2017-02-24 20:12:46 +00:00
..
eg tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
importgraph refactor/importgraph: document that graphs are cyclic 2016-03-03 22:47:59 +00:00
rename x/tools/refactor/rename: fix nil pointer dereference. 2017-02-24 20:12:46 +00:00
satisfy refactor/...: remove go1.8-tagged files 2016-11-04 21:29:48 +00:00
README go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00

golang.org/x/tools/refactor: libraries for refactoring tools.