noop-verbose.js
This file
Path
test/fixtures/noop-verbose.js
12 lines · 220 bytes · JavaScript
Last changed by
Allow `verbose` option to be a function for custom logging (#1130)ehmickybefore adoption8daf348
History of this fileTake it
12345678910111213#!/usr/bin/env nodeimport process from 'node:process';import {sendMessage} from '../../index.js';
const bytes = process.argv[2];console.log(bytes);
try { await sendMessage(bytes);} catch {}
process.exitCode = 2;