Created
September 11, 2021 05:34
-
-
Save RoyalIcing/4671572a3f18cf4a7d114bf034d9c7cc to your computer and use it in GitHub Desktop.
`in` as pipeline keyword
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See: https://twitter.com/buildsghost/status/1436394640861646848 | |
envars | |
|> Object.keys(in) | |
|> in.map(envar => `${envar}=${envars[envar]}`) | |
|> in.join(' ') | |
|> `$ ${in}` | |
|> chalk.dim(in, 'node', args.join(' ')) | |
|> console.log(in) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment