aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslint/lib/formatterLoader.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tslint/lib/formatterLoader.js')
-rw-r--r--node_modules/tslint/lib/formatterLoader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/tslint/lib/formatterLoader.js b/node_modules/tslint/lib/formatterLoader.js
index cda997016..a117d7551 100644
--- a/node_modules/tslint/lib/formatterLoader.js
+++ b/node_modules/tslint/lib/formatterLoader.js
@@ -30,7 +30,7 @@ function findFormatter(name, formattersDirectory) {
var camelizedName = utils_1.camelize(name + "Formatter");
// first check for core formatters
var Formatter = loadFormatter(CORE_FORMATTERS_DIRECTORY, camelizedName);
- if (Formatter != null) {
+ if (Formatter !== undefined) {
return Formatter;
}
// then check for rules within the first level of rulesDirectory