File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ func updateSpongeInternalPlugin(targetVersion string) error {
234234 return result .Err
235235 }
236236
237- ctx , cancel = context .WithTimeout (context .Background (), time .Minute )
237+ ctx , cancel : = context .WithTimeout (context .Background (), time .Minute )
238238 defer cancel ()
239239 genRPCVersion := "github.com/go-dev-frame/sponge/cmd/protoc-gen-go-rpc-tmpl@" + targetVersion
240240 if compareVersion (separatedVersion , targetVersion ) {
@@ -250,7 +250,7 @@ func updateSpongeInternalPlugin(targetVersion string) error {
250250
251251 // v1.x.x version does not support protoc-gen-json-field
252252 if ! strings .HasPrefix (targetVersion , "v1" ) {
253- ctx , cancel = context .WithTimeout (context .Background (), time .Minute ) //nolint
253+ ctx , cancel : = context .WithTimeout (context .Background (), time .Minute ) //nolint
254254 defer cancel ()
255255 genJSONVersion := "github.com/go-dev-frame/sponge/cmd/protoc-gen-json-field@" + targetVersion
256256 if compareVersion (separatedVersion , targetVersion ) {
You can’t perform that action at this time.
0 commit comments