Skip to content

Incorrect deprecated command warning for save-html #518

@Breakthrough

Description

@Breakthrough

It looks like in v0.6.x after export-html was renamed to save-html, but backwards compatibility was kept with the prior. We emit the warning to use the new command name with the new command instead of the old one:

if ctx.command.name == "save-html":
logger.warning("WARNING: export-html is deprecated, use save-html instead.")

The first line should check for the deprecated export-html name, but it matches the new save-html one instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions