@abaplint/cli 2.113.123 → 2.113.124

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.
Files changed (2) hide show
  1. package/build/cli.js +5 -3
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -778,6 +778,7 @@ exports.Sonarqube = Sonarqube;
778
778
  Object.defineProperty(exports, "__esModule", ({ value: true }));
779
779
  exports.Standard = void 0;
780
780
  const total_1 = __webpack_require__(/*! ./total */ "./build/src/formatters/total.js");
781
+ const path = __webpack_require__(/*! node:path */ "node:path");
781
782
  class Standard {
782
783
  output(issues, fileCount) {
783
784
  const tuples = [];
@@ -824,11 +825,12 @@ class Standard {
824
825
  return output + " - ";
825
826
  }
826
827
  build(issue) {
828
+ const filename = path.normalize(issue.getFilename());
827
829
  return {
828
- filename: issue.getFilename() + "[" + issue.getStart().getRow() + ", " + issue.getStart().getCol() + "]",
830
+ filename: filename + "[" + issue.getStart().getRow() + ", " + issue.getStart().getCol() + "]",
829
831
  description: issue.getMessage() + " (" + issue.getKey() + ")",
830
832
  startPos: issue.getStart(),
831
- rawFilename: issue.getFilename(),
833
+ rawFilename: filename,
832
834
  severity: issue.getSeverity().toString(),
833
835
  };
834
836
  }
@@ -54228,7 +54230,7 @@ class Registry {
54228
54230
  }
54229
54231
  static abaplintVersion() {
54230
54232
  // magic, see build script "version.sh"
54231
- return "2.113.123";
54233
+ return "2.113.124";
54232
54234
  }
54233
54235
  getDDICReferences() {
54234
54236
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.123",
3
+ "version": "2.113.124",
4
4
  "description": "abaplint - Command Line Interface",
5
5
  "funding": "https://github.com/sponsors/larshp",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "homepage": "https://abaplint.org",
40
40
  "devDependencies": {
41
- "@abaplint/core": "^2.113.123",
41
+ "@abaplint/core": "^2.113.124",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",