@zohodesk/testinglibrary 0.1.8-eslint-11 → 0.1.8-eslint-12

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.
@@ -136,8 +136,8 @@ function validateReport() {
136
136
  }
137
137
  }
138
138
  function getReportPath(reportPath = null, reportOptions = {}) {
139
- let jsonReportPath = _path.default.resolve(process.cwd(), 'uat', 'lint-report', 'lintReport.json');
140
- if (!(0, _fileUtils.checkIfFileExists)(reportPath | jsonReportPath)) {
139
+ let jsonReportPath = reportPath || _path.default.resolve(process.cwd(), 'uat', 'lint-report', 'lintReport.json');
140
+ if (!(0, _fileUtils.checkIfFileExists)(jsonReportPath)) {
141
141
  _logger.Logger.log(_logger.Logger.FAILURE_TYPE, 'Cannot Find JSON Report ...');
142
142
  process.exit(0);
143
143
  }
@@ -51,6 +51,6 @@ function getSonarJarPath() {
51
51
  if ((0, _fileUtils.checkIfFileExists)(jarPath)) {
52
52
  return jarPath;
53
53
  }
54
- _logger.Logger.log(_logger.Logger.FAILURE_TYPE, 'Cannot Find Java-Jar');
54
+ _logger.Logger.log(_logger.Logger.FAILURE_TYPE, 'cannot find - Java-Jar');
55
55
  process.exit(0);
56
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.1.8-eslint-11",
3
+ "version": "0.1.8-eslint-12",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {