We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b539b07 commit d1b4021Copy full SHA for d1b4021
cmd/protolock/main.go
@@ -132,7 +132,9 @@ func status(cfg *protolock.Config) {
132
os.Exit(1)
133
}
134
135
- os.Exit(code)
+ if code != 0 {
136
+ os.Exit(code)
137
+ }
138
139
140
func saveToLockFile(cfg protolock.Config, r io.Reader) error {
proto.lock
@@ -363,6 +363,11 @@
363
"name": "age",
364
"type": "int32"
365
},
366
+ {
367
+ "id": 101,
368
+ "name": "newnew",
369
+ "type": "int32"
370
+ },
371
{
372
"id": 44,
373
"name": "msg",
testdata/test.proto
@@ -22,6 +22,7 @@ message Channel {
22
string description = 3;
23
string foo = 4;
24
int32 age = 5;
25
+ int32 newnew = 101;
26
27
message A { int32 id = 1; }
28
0 commit comments