[BUG] pacote.extract resolves to the wrong value
jdmarshall opened this issue · 2 comments
jdmarshall commented
What / Why
pacote.extract is documented as returning a
Promise<Object>
, instead it is returning aPromise<boolean>
When
- always
Where
- private registry
How
Current Behavior
- returns false
Steps to Reproduce
let reply = await pacote.extract(src, tmpDir.path, args.options);
console.log(reply);
output:
false
Expected Behavior
- as documented in the readme, this should return an Object
Who
- n/a
References
- n/a
isaacs commented
What spec are you using that's creating this result? I can't reproduce it.
jdmarshall commented
Inter-version behavioral change