npm-groovy-lint 12.1.2 → 12.2.0

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.
@@ -198,7 +198,7 @@ class NpmGroovyLint {
198
198
  const v = getNpmGroovyLintVersion();
199
199
 
200
200
  const codeNarcVersionLinter = await new NpmGroovyLint([process.execPath, "", "--codenarcargs", "-version"], {}).run();
201
- const codeNarcVersionLines = [(await getSourceLines(codeNarcVersionLinter.codeNarcStdOut))[0]];
201
+ const codeNarcVersionLines = [(await getSourceLines(codeNarcVersionLinter.codeNarcStdOut || "Error collecting CodeNarc version"))[0]];
202
202
 
203
203
  const versions = [];
204
204
  versions.push(`npm-groovy-lint version ${v}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-groovy-lint",
3
- "version": "12.1.2",
3
+ "version": "12.2.0",
4
4
  "description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -60,7 +60,7 @@
60
60
  "glob": "^7.1.6",
61
61
  "import-fresh": "^3.2.1",
62
62
  "ip": "^1.1.5",
63
- "java-caller": "^3.1.1",
63
+ "java-caller": "^3.2.0",
64
64
  "js-yaml": "^4.1.0",
65
65
  "node-sarif-builder": "^2.0.3",
66
66
  "optionator": "^0.8.3",