nested-input.js
This file
Path
test/fixtures/nested-input.js
7 lines · 291 bytes · JavaScript
Last changed by
Fix using both `encoding: 'utf16le'` and `lines`/`verbose` options (#931)ehmickybefore adoptiona480e1d
History of this fileTake it
12345678#!/usr/bin/env nodeimport process from 'node:process';import {execa} from '../../index.js';import {foobarUtf16Uint8Array} from '../helpers/input.js';
const [options, file, ...args] = process.argv.slice(2);await execa(file, args, {...JSON.parse(options), input: foobarUtf16Uint8Array});