Skip to content

Commit a900e69

Browse files
Remove unnecessary warning for -m option with default output
1 parent dd58362 commit a900e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_source/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def main():
9494

9595
_start_time = datetime.now().strftime('%y%m%d_%H%M')
9696
success, msg, output_path, output_file, output_extension = check_output_format(output_file_name, format)
97-
if output_extension != '.xlsx' and print_matched_text:
97+
if output_extension != '.xlsx' and output_extension != "" and print_matched_text:
9898
logger.warning("-m option is only available for excel.")
9999
print_matched_text = False
100100
if not success:

0 commit comments

Comments
 (0)