[ObjC] Fix method_dump to generate spaces not taps.

So future updates don't need reformatting.
pull/10736/head
Thomas Van Lenten 2 years ago
parent fbac066078
commit 590c74d59e
  1. 4
      src/google/protobuf/compiler/objectivec/method_dump.sh

@ -82,9 +82,9 @@ int main(int argc, const char * argv[]) {
for (NSString *item in array) {
// Some items with _ in them get returned in quotes, so do not add more.
if ([item hasPrefix:@"\""]) {
printf("\t%s,\n", item.UTF8String);
printf(" %s,\n", item.UTF8String);
} else {
printf("\t\"%s\",\n", item.UTF8String);
printf(" \"%s\",\n", item.UTF8String);
}
}
}

Loading…
Cancel
Save