Skip to content
Myr

Rename variables in `stdio` file (#306)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ehmicky · committed by Sindre Sorhus · parent 85a54d5 · Browse files · 3 files+16 added−16 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+16 added−16 removed

  • tests:+4 added−4 removed
  • other:+12 added−12 removed

3 files+16 added−16 removed

modified:lib/stdio.js+9 added-9 removed
modified:test/stdio.js+4 added-4 removed
modified:index.js+3 added-3 removed
9 unmodified lines
10const getStream = require('get-stream');11const mergeStream = require('merge-stream');12const pFinally = require('p-finally');13const onExit = require('signal-exit');14const stdio = require('./lib/stdio');14const normalizeStdio = require('./lib/stdio');1516const DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;17const DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;18
31 unmodified lines
50 cwd: options.localDir51 });52 }5354 options.stdio = stdio(options);54 options.stdio = normalizeStdio(options);5556 if (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {57 // #11658 args.unshift('/q');
473 unmodified lines
532 options = args;533 args = [];534 }535536 const stdioOption = stdio.node(options);536 const stdioOption = normalizeStdio.node(options);537538 const {nodePath = process.execPath, nodeOptions = process.execArgv} = options;539540 return execa(
16 unmodified lines