@fimbul/wotan
Advanced tools
Comparing version 0.20.0 to 0.21.0-dev.20190318
{ | ||
"name": "@fimbul/wotan", | ||
"version": "0.20.0", | ||
"version": "0.21.0-dev.20190318", | ||
"description": "Pluggable TypeScript and JavaScript linter", | ||
@@ -43,4 +43,4 @@ "bin": "bin/main.js", | ||
"dependencies": { | ||
"@fimbul/mimir": "^0.20.0", | ||
"@fimbul/ymir": "^0.18.0", | ||
"@fimbul/mimir": "0.21.0-dev.20190318", | ||
"@fimbul/ymir": "0.21.0-dev.20190318", | ||
"bind-decorator": "^1.0.11", | ||
@@ -47,0 +47,0 @@ "chalk": "^2.3.0", |
@@ -113,5 +113,13 @@ "use strict"; | ||
} | ||
if (ctor.supports !== undefined && !ctor.supports(sourceFile, { program, options, settings: config.settings })) { | ||
log('Rule %s does not support this file', ruleName); | ||
continue; | ||
if (ctor.supports !== undefined) { | ||
const supports = ctor.supports(sourceFile, { program, options, settings: config.settings }); | ||
if (supports !== true) { | ||
if (!supports) { | ||
log(`Rule %s does not support this file`, ruleName); | ||
} | ||
else { | ||
log(`Rule %s does not support this file: %s`, ruleName, supports); | ||
} | ||
continue; | ||
} | ||
} | ||
@@ -118,0 +126,0 @@ rules.push({ ruleName, options, severity, ctor }); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
320827
3963
+ Added@fimbul/mimir@0.21.0-dev.20190318(transitive)
+ Added@fimbul/ymir@0.21.0-dev.20190318(transitive)
- Removed@fimbul/mimir@0.20.0(transitive)
- Removed@fimbul/ymir@0.18.0(transitive)