Open copybara-service[bot] opened 2 years ago
Disallow empty value in list.
$ echo "x [a, , b]" | blaze-bin/third_party/txtpbfmt/fmt parser.Format for path with content "x [a, , b]\n" returned err Empty value in list. F0428 14:10:56.453731 680717 fmt.go:103] 1 error(s) encountered during execution
Note that this doesn't prevent empty strings:
$ echo "x [a, '' , b]" | blaze-bin/third_party/txtpbfmt/fmt x [a, "", b]
Disallow empty value in list.
$ echo "x [a, , b]" | blaze-bin/third_party/txtpbfmt/fmt parser.Format for path with content "x [a, , b]\n" returned err Empty value in list.
F0428 14:10:56.453731 680717 fmt.go:103] 1 error(s) encountered during execution
Note that this doesn't prevent empty strings:
$ echo "x [a, '' , b]" | blaze-bin/third_party/txtpbfmt/fmt x [a, "", b]