Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML Output: Warning: overriding output file extension #406

Open
saltorre opened this issue Feb 2, 2025 · 0 comments
Open

HTML Output: Warning: overriding output file extension #406

saltorre opened this issue Feb 2, 2025 · 0 comments

Comments

@saltorre
Copy link

saltorre commented Feb 2, 2025

Lizard version: 1.17.13

When I run the lizard tool with the --html flag and with the --output-file ending in .html, I get the error:

Warning: overriding output file extension.

Example:

lizard --length 75 \
		   --CCN 20 \
		   --arguments 3 \
		   --warnings_only \
		   --sort cyclomatic_complexity \
		   --html \
		   --output_file reports/complexity/complexity.html \
		   source

If I run it without the .html extension, the warning goes away but the output file does not have the .html extension despite being formatted like an html file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant