Closed breningham closed 2 years ago
Eeck!!! thank you for reporting!!
@breningham - I am curious how you get a warning? I was just reviewing our test suite (which does execute this code path), but I don't see any warnings or errors like this. Is there a "strict mode" flag or something that I should try to enable that would cause things to error (in order to prevent this sort of mixup again)?
Honestly i just got the warning because i tried to use it 😆
eslint could probably be used to check this sort of thing - not sure if such a thing already exists or not though.
Fixed in v2.0.2 (also v2 tag), thanks for reporting!
it's accessed in the code here: https://github.com/volta-cli/action/blob/000034ba643d3985197785c24793ed8e19ea6478/src/registry.ts#L24
but it's not provided in the action.yml's accepted inputs.