mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Fix success or failed determine code bug
currently implementation was erroneous decision, e.g. _infrastructure/tests/typescript/tsc.js not exists.
This commit is contained in:
@@ -691,7 +691,7 @@ var DefinitelyTyped;
|
||||
}
|
||||
Object.defineProperty(TestResult.prototype, "success", {
|
||||
get: function () {
|
||||
return this.exitCode !== 1;
|
||||
return this.exitCode === 0;
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
|
||||
@@ -139,7 +139,7 @@ module DefinitelyTyped.TestManager {
|
||||
exitCode:number;
|
||||
|
||||
public get success():boolean {
|
||||
return this.exitCode !== 1;
|
||||
return this.exitCode === 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user