File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1271,6 +1271,8 @@ class Command extends EventEmitter {
1271
1271
throw new Error ( `unexpected parse option { from: '${ parseOptions . from } ' }` ) ;
1272
1272
}
1273
1273
// @ts -ignore: unknown property
1274
+ // mainModule is deprecated, revisit coverage when change code.
1275
+ // istanbul ignore next
1274
1276
if ( ! this . _scriptPath && process . mainModule ) {
1275
1277
// @ts -ignore: unknown property
1276
1278
this . _scriptPath = process . mainModule . filename ;
@@ -1316,6 +1318,8 @@ class Command extends EventEmitter {
1316
1318
* @api private
1317
1319
*/
1318
1320
1321
+ /* _executeSubCommand is tested mostly by spawned calls which do not register in coverage. Don't count for now. */
1322
+ /* istanbul ignore next */
1319
1323
_executeSubCommand ( subcommand , args ) {
1320
1324
args = args . slice ( ) ;
1321
1325
let launchWithNode = false ; // Use node for source targets so do not need to get permissions correct, and on Windows.
You can’t perform that action at this time.
0 commit comments