Search for `goimports` in `$GOPATH`, not `$PATH`
@@ -13,7 +13,7 @@ if ! os::util::ensure::system_binary_exists 'protoc' || [[ "$(protoc --version)"
exit 1
fi
-os::util::ensure::system_binary_exists 'goimports'
+os::util::ensure::gopath_binary_exists 'goimports'
os::build::setup_env
os::util::ensure::built_binary_exists 'genprotobuf'
