typescript-gitlab-format
Advanced tools
Comparing version 1.0.0-rc.4 to 1.0.0-rc.5
@@ -18,3 +18,6 @@ #!/usr/bin/env node | ||
} | ||
if (output.length > 0) { | ||
process.exitCode = 1; | ||
} | ||
process.stdout.write(JSON.stringify(output)); | ||
}); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tsc_output_parser_1 = require("@aivenio/tsc-output-parser"); | ||
var node_crypto_1 = require("node:crypto"); | ||
function format(input) { | ||
@@ -13,2 +14,3 @@ var foo = (0, tsc_output_parser_1.parse)(input); | ||
severity: 'major', | ||
fingerprint: (0, node_crypto_1.createHash)("sha256").update(inputItem.value.path.value + ":" + inputItem.value.tsError.value.errorString).digest("hex"), | ||
location: { | ||
@@ -15,0 +17,0 @@ path: inputItem.value.path.value, |
{ | ||
"name": "typescript-gitlab-format", | ||
"version": "1.0.0-rc.4", | ||
"version": "1.0.0-rc.5", | ||
"description": "Convert and filter tsc output into gitlab codeclimate format", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
7754
67