https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
8 lines
126 B
JavaScript
8 lines
126 B
JavaScript
"use strict"
|
|
|
|
export const log = function (s) {
|
|
return function () {
|
|
console.log(s);
|
|
return {};
|
|
};
|
|
};
|