vendor/node_modules/mocha/bin/mocha in stylus-source-0.27.1 vs vendor/node_modules/mocha/bin/mocha in stylus-source-0.27.2
- old
+ new
@@ -21,10 +21,11 @@
case '-gc':
case '--expose-gc':
args.unshift('--expose-gc');
break;
default:
- args.push(arg);
+ if (0 == arg.indexOf('--trace')) args.unshift(arg);
+ else args.push(arg);
break;
}
});
var proc = spawn(process.argv[0], args, { customFds: [0,1,2] });