Open CyberShadow opened 4 months ago
Assertion failure when combining --single and --nodeps.
--single
--nodeps
Create test.d:
test.d
/+ dub.sdl: dependency "ae" version="==0.0.3236" +/ void main() {}
then run: dub describe --single --nodeps test.d
dub describe --single --nodeps test.d
A meaningful error message.
For describe --nodeps, some machine-readable output which includes some description of dependencies (everything that can be known without fetching them) would be nice.
describe --nodeps
$ dub describe --single --nodeps test.d core.exception.AssertError@source/dub/project.d(203): Non-optional dependency 'ae' of 'test' not found in dependency tree!?. ---------------- ??:? [0x79a7a6] ??:? [0x79a412] ??:? [0x7c2e9e] ??:? [0x7a2f8f] ??:? [0x799473] ??:? [0x42fda4] ??:? [0x42fb43] ??:? [0x43071a] ??:? [0x4305c5] ??:? [0x739868] ??:? [0x666b70] ??:? [0x7a2c6c] ??:? [0x7a2b66] ??:? [0x7a29bc] ??:? [0x7f29bea5610d] ??:? __libc_start_main [0x7f29bea561c8] ??:? [0x404c44]
System information
Bug Description
Assertion failure when combining
--single
and--nodeps
.How to reproduce?
Create
test.d
:then run:
dub describe --single --nodeps test.d
Expected Behavior
A meaningful error message.
For
describe --nodeps
, some machine-readable output which includes some description of dependencies (everything that can be known without fetching them) would be nice.Logs