fork-ts-checker-webpack-plugin 9.2.0 → 9.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/plugin.js
CHANGED
|
@@ -89,7 +89,7 @@ exports.ForkTsCheckerWebpackPlugin = ForkTsCheckerWebpackPlugin;
|
|
|
89
89
|
/**
|
|
90
90
|
* Current version of the plugin
|
|
91
91
|
*/
|
|
92
|
-
ForkTsCheckerWebpackPlugin.version = '9.2.
|
|
92
|
+
ForkTsCheckerWebpackPlugin.version = '9.2.1'; // will be replaced by the @semantic-release/exec
|
|
93
93
|
/**
|
|
94
94
|
* Default pools for the plugin concurrency limit
|
|
95
95
|
*/
|
|
@@ -105,7 +105,7 @@ function createIssueFromDiagnostic(diagnostic) {
|
|
|
105
105
|
let location;
|
|
106
106
|
if (diagnostic.file) {
|
|
107
107
|
file = diagnostic.file.fileName;
|
|
108
|
-
if (diagnostic.start && diagnostic.length) {
|
|
108
|
+
if (diagnostic.start !== undefined && diagnostic.length !== undefined) {
|
|
109
109
|
const { line: startLine, character: startCharacter } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start);
|
|
110
110
|
const { line: endLine, character: endCharacter } = diagnostic.file.getLineAndCharacterOfPosition(diagnostic.start + diagnostic.length);
|
|
111
111
|
location = {
|