diff options
author | EuAndreh <eu@euandre.org> | 2024-02-25 05:01:00 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-02-25 05:01:00 -0300 |
commit | 458bf0fc628d9bcf6a59a0efb898045266dab6ba (patch) | |
tree | bb538753668dad5abc7eec4a65bf4f233b34d93a /src/utils.mjs | |
parent | Normalize how modules import and name each other (diff) | |
download | papod-458bf0fc628d9bcf6a59a0efb898045266dab6ba.tar.gz papod-458bf0fc628d9bcf6a59a0efb898045266dab6ba.tar.xz |
Explicit import from "node:process"; move log() to hero.mjs
Diffstat (limited to 'src/utils.mjs')
-rw-r--r-- | src/utils.mjs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/utils.mjs b/src/utils.mjs index 8ce9076..f2e09e4 100644 --- a/src/utils.mjs +++ b/src/utils.mjs @@ -73,8 +73,6 @@ export const first = (arr, fn) => { return null; }; -export const log = o => console.error(JSON.stringify(o)); - export const promisify = fn => (...args) => new Promise((resolve, reject) => fn(...args, (err, data) => err ? reject(err) : resolve(data))); |