Comparing version 0.6.0 to 0.6.1
{ | ||
"name": "stryker", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "The extendable JavaScript mutation testing framework", | ||
@@ -5,0 +5,0 @@ "main": "src/Stryker.js", |
@@ -27,7 +27,7 @@ "use strict"; | ||
if (_this.innerProcessIsCrashed(err)) { | ||
return; | ||
return null; | ||
} | ||
else { | ||
// Oops, not intended to catch this one. Pass through | ||
return Promise.reject(err); | ||
throw err; | ||
} | ||
@@ -34,0 +34,0 @@ }); |
@@ -10,2 +10,3 @@ "use strict"; | ||
var ArrayDeclaratorMutator_1 = require("./mutators/ArrayDeclaratorMutator"); | ||
var BooleanSubstitutionMutator_1 = require("./mutators/BooleanSubstitutionMutator"); | ||
var mutant_1 = require("stryker-api/mutant"); | ||
@@ -85,2 +86,3 @@ var Mutant_1 = require("./Mutant"); | ||
mutatorFactory.register('ArrayDeclarator', ArrayDeclaratorMutator_1.default); | ||
mutatorFactory.register('BooleanSubstitution', BooleanSubstitutionMutator_1.default); | ||
}; | ||
@@ -87,0 +89,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var program = require('commander'); | ||
var program = require("commander"); | ||
var ConfigReader_1 = require("./ConfigReader"); | ||
@@ -36,8 +36,8 @@ var Stryker_1 = require("./Stryker"); | ||
// Cleanup commander state | ||
delete program.options; | ||
delete program.rawArgs; | ||
delete program['options']; | ||
delete program['rawArgs']; | ||
delete program.args; | ||
delete program.Command; | ||
delete program.Option; | ||
delete program.commands; | ||
delete program['commands']; | ||
for (var i in program) { | ||
@@ -49,3 +49,3 @@ if (i.charAt(0) === '_') { | ||
if (strykerConfig) { | ||
program.configFile = strykerConfig; | ||
program['configFile'] = strykerConfig; | ||
} | ||
@@ -52,0 +52,0 @@ var commands = { |
209427
102
3820