You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically what I need is a isCi(env = process.env) function and something like a getInfo(env = process.env) one for the above code that is heavier.
It would also have the nice side effect to be able to to lazy compute the data provided by this plugin and only compute the informations you need. One can til memoize the function if needed then to avoid multiple runs.
The tests would probably be much simpler too.
If you agree we that, let me know, I can do the PR. It would require a major version bump though.
The text was updated successfully, but these errors were encountered:
Just find this plugin and would like to use it but I'm stuck with its current design.
My use case is that I need to pass in an env object instead of just
process.env
here https://github.com/nfroidure/metapak/blob/master/src/metapak.js#L88Basically what I need is a
isCi(env = process.env)
function and something like agetInfo(env = process.env)
one for the above code that is heavier.It would also have the nice side effect to be able to to lazy compute the data provided by this plugin and only compute the informations you need. One can til memoize the function if needed then to avoid multiple runs.
The tests would probably be much simpler too.
If you agree we that, let me know, I can do the PR. It would require a major version bump though.
The text was updated successfully, but these errors were encountered: