https://pantsbuild.org/ logo
#general
Title
# general
h

happy-kitchen-89482

02/16/2022, 2:31 AM
Currently
./pants paths
raises a ValueError if there is not at least one dependency path between the --from and --to targets. I think that it should instead emit an empty list.
1
Zero is a perfectly acceptable number of dependency paths
Thoughts and feelings?
cc @melodic-thailand-99227 since this is your code, was wondering if there was a strong reason?
m

melodic-thailand-99227

02/16/2022, 6:28 AM
Not a strong reason, probably an oversight
c

curved-television-6568

02/16/2022, 7:58 AM
Currently 
./pants peek
 raises a ValueError
Should be
./pants path
I suppose..
h

happy-kitchen-89482

02/17/2022, 2:18 AM
Ah yes, typo by me - should have been
paths
Fixed above
Anyway, some tweaks to that already awesome functionality here: https://github.com/pantsbuild/pants/pull/14518
👍 1