Currently `./pants paths` raises a ValueError if t...
# general
h
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
Not a strong reason, probably an oversight
c
Currently 
./pants peek
 raises a ValueError
Should be
./pants path
I suppose..
h
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