Skip to content

Commit f263f6e

Browse files
committed
Do not create error.log if no error is returned #294
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 801ed8f commit f263f6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributecode/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def inventory(location, output, quiet, format):
117117
write_errors = model.write_output(abouts, output, format)
118118
for err in write_errors:
119119
errors.append(err)
120-
log_errors(errors, quiet, os.path.dirname(output))
120+
log_errors(errors, quiet, os.path.dirname(output))
121121

122122

123123
@cli.command(cls=AboutCommand, short_help='LOCATION: input file, OUTPUT: directory',)

0 commit comments

Comments
 (0)