@abaplint/core 2.115.4 → 2.115.5

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.
@@ -74,7 +74,7 @@ class Registry {
74
74
  }
75
75
  static abaplintVersion() {
76
76
  // magic, see build script "version.sh"
77
- return "2.115.4";
77
+ return "2.115.5";
78
78
  }
79
79
  getDDICReferences() {
80
80
  return this.ddicReferences;
@@ -71,7 +71,14 @@ class DoubleSpace extends _abap_rule_1.ABAPRule {
71
71
  issues = issues.concat(this.checkParen(s, file));
72
72
  }
73
73
  issues = issues.concat(this.checkAfterColon(file));
74
- return issues;
74
+ // remove issues with the same starting position
75
+ const uniqueIssues = [];
76
+ for (const issue of issues) {
77
+ if (uniqueIssues.findIndex(i => i.getStart().equals(issue.getStart())) === -1) {
78
+ uniqueIssues.push(issue);
79
+ }
80
+ }
81
+ return uniqueIssues;
75
82
  }
76
83
  checkAfterColon(file) {
77
84
  const issues = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.115.4",
3
+ "version": "2.115.5",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",