Uh oh!
There was an error while loading. Please reload this page.
chore(refactor): promisify completion scripts - #2759
Conversation
8b31c04 to
aaec756Comparewraithgar
commented
Feb 23, 2021
Looks like something in the last patch to npm brought in more fs.promises references. That'll have to be fixed before CI is green. |
aaec756 to
4fd1322Compare
nlf
left a comment
There was a problem hiding this comment.
this is an excellent refactor to remove some weirdness
that said, we should pick one way to define the completion function and stick with it. we have currently
function (opts) {}async function (opts) {}opts => {}(opts) => {}async (opts) => {}
i think the last one makes the most sense to use as the canonical definition style since we use arrow functions for most things, and just always declaring it async is nice for consistency
wraithgar
commented
Feb 24, 2021
@nlf very good point. I tried to be aware of that when I was changing the tap functions (I think I got them to all be |
4fd1322 to
182b362Compare182b362 to
5ae2dc1CompareWe also removed the "none" script because we handle a missing script just fine. There is no need to put an empty one in PR-URL: #2759 Credit: @wraithgarClose: #2759 Reviewed-by: @nlf
5ae2dc1 to
2ed0cc8Compare
We also removed the "none" script because we handle a missing
script just fine. There is no need to put an empty one in