Debian Codegraph @

nyc/test/fixtures/cli/fakebin/npm-template.js

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 // shebang gets added before this line
2 var which = require('which')
3 var assert = require('assert')
4 var foreground = require('foreground-child')
5
6 // strip first PATH folder
7 process.env.PATH = process.env.PATH.replace(/^.+?[:;]/, '')
8
9 foreground('npm', process.argv.slice(2))