Skip to content
Myr

bump `npm-run-path`

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 a80487b · Browse files · 3 files+2 added−10 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+2 added−10 removed

  • other:+2 added−10 removed

3 files+2 added−10 removed

modified:.travis.yml-2 removed
modified:index.js+1 added-6 removed
5 unmodified lines
6var objectAssign = require('object-assign');7var npmRunPath = require('npm-run-path');8var isStream = require('is-stream');9var _getStream = require('get-stream');10var pathKey = require('path-key')();10var onExit = require('signal-exit');11var errname = require('./lib/errname');1213var TEN_MEBIBYTE = 1024 * 1024 * 10;
23 unmodified lines
37 cleanup: true38 }, parsed.options);3940 if (opts.preferLocal) {42 opts.env = objectAssign({}, opts.env || process.env);43 opts.env[pathKey] = npmRunPath({44 cwd: opts.cwd,45 path: opts.env[pathKey]46 });41 opts.env = npmRunPath.env(opts);42 }4344 return {45 cmd: parsed.command,
215 unmodified lines
modified:package.json+1 added-2 removed