-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The bug is here.
According to operator precedence, the current condition means
if (pr and version not in {None, "nightly"}) or commit,
but it should be
if pr and (version not in {None, "nightly"} or commit).
As a result, specifying --commit causes a crash.
To Reproduce
comfy --skip-prompt --workspace ./confy2/ install --version nightly --commit 93292bc450dd291925c45adea00ebedb8a3209ef --manager-commit 3.31.12 --cpu
--pr cannot be used with --version or --commit
Expected behavior
Guess :)
Nice to have
- Terminal output
- Screenshots
Additional context
I think no needs.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working