@fimbul/wotan
Advanced tools
Comparing version 0.8.0 to 0.9.0-dev.20180424
{ | ||
"name": "@fimbul/wotan", | ||
"version": "0.8.0", | ||
"version": "0.9.0-dev.20180424", | ||
"description": "Pluggable TypeScript and JavaScript linter", | ||
@@ -48,4 +48,4 @@ "bin": "bin/main.js", | ||
"dependencies": { | ||
"@fimbul/mimir": "^0.8.0", | ||
"@fimbul/ymir": "^0.8.0", | ||
"@fimbul/mimir": "0.8.0", | ||
"@fimbul/ymir": "0.8.0", | ||
"bind-decorator": "^1.0.11", | ||
@@ -52,0 +52,0 @@ "chalk": "^2.3.0", |
@@ -52,4 +52,4 @@ "use strict"; | ||
throw new ymir_1.ConfigurationError(`Testing file '${file}' outside of '${root}'.`); | ||
const actual = baseline_1.createBaseline(summary); | ||
const baselineFile = `${path.resolve(baselineDir, relative)}${kind === "lint" ? '.lint' : ''}`; | ||
const actual = kind === "fix" ? summary.content : baseline_1.createBaseline(summary); | ||
const baselineFile = `${path.resolve(baselineDir, relative)}.${kind}`; | ||
const end = (pass, text, baselineDiff) => { | ||
@@ -56,0 +56,0 @@ this.logger.log(` ${chalk_1.default.grey.dim(path.relative(basedir, baselineFile))} ${chalk_1.default[pass ? 'green' : 'red'](text)}`); |
Sorry, the diff of this file is not supported yet
247174
Updated@fimbul/mimir@0.8.0
Updated@fimbul/ymir@0.8.0