You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying -output_file for writing the reporting output to a file the directory for the output file must exist and will not be created by protolint. It would be nice if protolint could try to create the directory
Example: protolint lint -reporter plain -output_file=./protolint/report.plain . fails with open ./protolint/report.txt: no such file or directory if the ./protolint directory does not exist :-/.
When specifying
-output_file
for writing the reporting output to a file the directory for the output file must exist and will not be created by protolint. It would be nice if protolint could try to create the directoryExample:
protolint lint -reporter plain -output_file=./protolint/report.plain .
fails withopen ./protolint/report.txt: no such file or directory
if the./protolint
directory does not exist :-/.Possible relevant source code might be
https://github.com/yoheimuta/protolint/blob/master/internal/linter/report/reporter.go#L29
The text was updated successfully, but these errors were encountered: