| commit | e211dfb0007a215198c1161cbbb9683265c7c83a | [log] [tgz] |
|---|---|---|
| author | Alan Donovan <adonovan@google.com> | Fri Jan 08 14:13:35 2016 -0500 |
| committer | Alan Donovan <adonovan@google.com> | Fri Jan 08 19:32:44 2016 +0000 |
| tree | 891905cd2a87fdb7ffc9491501a7d382848770fa | |
| parent | 1fb1f857ac13798252e62980798de06d84fefae0 [diff] |
refactor/rename: fix crash with "." as -from package Cause: the absolute cwd, not ".", must be passed to build.Import. Also: simplify the lookup logic in findFromObjects, and handle nil gracefully. (No unit test---not worth faking os.Getwd.) Fixes issue #13866 Change-Id: I7e8eede55bc83d98e2ef5e42609c287e74c04501 Reviewed-on: https://go-review.googlesource.com/18453 Reviewed-by: Michael Matloob <matloob@golang.org>