Skip to content
Myr

use 10 megabytes per readme, not 10 mebibytes

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

authored by Sindre Sorhus · committed by Sindre Sorhus · parent 9699ea2 · Browse files · 1 file+2 added−2 removed
This commit

State

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

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:index.js+2 added-2 removed
7 unmodified lines
8const _getStream = require('get-stream');9const onExit = require('signal-exit');10const errname = require('./lib/errname');1112const TEN_MEBIBYTE = 1024 * 1024 * 10;12const TEN_MEGABYTES = 1000 * 1000 * 10;1314function handleArgs(cmd, args, opts) {15 let parsed;16
10 unmodified lines
27 parsed = crossSpawn._parse(cmd, args, opts);28 }2930 opts = Object.assign({31 maxBuffer: TEN_MEBIBYTE,31 maxBuffer: TEN_MEGABYTES,32 stripEof: true,33 preferLocal: true,34 encoding: 'utf8',35 reject: true,
207 unmodified lines