MCPcopy Create free account
hub / github.com/bcoe/c8 / hideInstrumenterArgs

Function hideInstrumenterArgs

lib/parse-args.js:202–209  ·  view source on GitHub ↗
(yargv)

Source from the content-addressed store, hash-verified

200}
201
202function hideInstrumenterArgs (yargv) {
203 let argv = process.argv.slice(1)
204 argv = argv.slice(argv.indexOf(yargv._[0]))
205 if (argv[0][0] === '-') {
206 argv.unshift(process.execPath)
207 }
208 return argv
209}
210
211function hideInstrumenteeArgs () {
212 let argv = process.argv.slice(2)

Callers 2

parse-args.jsFile · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected