Skip to content

Unlisted Targets leaked through CLIΒ #1491

@JHorvath-MaxetaTech

Description

@JHorvath-MaxetaTech

Usage Information

NUKE 8.0.0

Description

Running build with a bad target (or even --help) can leak unlisted targets in the CLI.

Bad target example: [PostCompile and PostPublish are both marked as .Unlisted(), but are still shown]
Unlisted NUKE bad target

--help example [PostCompile and PostPublish are both marked as .Unlisted(), but are still referenced through .DependsOn()]
Unlisted NUKE help

Reproduction Steps

Add an .Unlisted() to a target, then initiate a build with a bad target or with --help

Expected Behavior

Targets marked with .Unlisted() should not be shown

Actual Behavior

Targets marked with .Unlisted() are shown

Regression?

N/A

Known Workarounds

N/A

Could you help with a pull-request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions