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

Unlisted Targets leaked through CLI #1491

Open
JHorvath-MaxetaTech opened this issue Dec 9, 2024 · 0 comments
Open

Unlisted Targets leaked through CLI #1491

JHorvath-MaxetaTech opened this issue Dec 9, 2024 · 0 comments
Labels

Comments

@JHorvath-MaxetaTech
Copy link

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

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

No branches or pull requests

1 participant