npm-groovy-lint
Advanced tools
Comparing version 7.5.2 to 7.5.3
const Amplitude = require("amplitude"); | ||
const crypto = require("crypto"); | ||
const debug = require("debug")("npm-groovy-lint"); | ||
@@ -191,2 +192,6 @@ const fse = require("fs-extra"); | ||
const sourceLines = await getSourceLines(source); | ||
fileStatEventProps.fileId = crypto | ||
.createHash("sha1") | ||
.update(file) | ||
.digest("base64"); | ||
fileStatEventProps.fileName = path.basename(file); | ||
@@ -193,0 +198,0 @@ fileStatEventProps.fileExtension = path.extname(fileStatEventProps.fileName); |
@@ -42,3 +42,6 @@ #! /usr/bin/env node | ||
assert(!stdout.includes(`ToIgnore.groovy`), `ToIgnore.groovy has been ignored \n${stdout}`); | ||
assert(stdout.includes(`npm-groovy-lint results in ${c.bold(10)} linted files`), `Number of linted files is displayed in summary \n${stdout}`); | ||
assert( | ||
stdout.includes(`npm-groovy-lint results in ${c.bold(10)} linted files`), | ||
`Number of linted files is displayed in summary \n${stdout}` | ||
); | ||
}); | ||
@@ -45,0 +48,0 @@ |
{ | ||
"name": "npm-groovy-lint", | ||
"version": "7.5.2", | ||
"version": "7.5.3", | ||
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
16597347
8256