-
Notifications
You must be signed in to change notification settings - Fork 57
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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 :-/.
Possible relevant source code might be
https://github.com/yoheimuta/protolint/blob/master/internal/linter/report/reporter.go#L29
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request