@abaplint/cli 2.112.1 → 2.112.3

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 +6 -2
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -40733,6 +40733,10 @@ class Config {
40733
40733
  if (this.config.syntax.globalConstants === undefined) {
40734
40734
  this.config.syntax.globalConstants = [];
40735
40735
  }
40736
+ else {
40737
+ // remove duplicates,
40738
+ this.config.syntax.globalConstants = [...new Set(this.config.syntax.globalConstants)];
40739
+ }
40736
40740
  if (this.config.global.skipIncludesWithoutMain === undefined) {
40737
40741
  this.config.global.skipIncludesWithoutMain = false;
40738
40742
  }
@@ -52400,7 +52404,7 @@ class Registry {
52400
52404
  }
52401
52405
  static abaplintVersion() {
52402
52406
  // magic, see build script "version.sh"
52403
- return "2.112.1";
52407
+ return "2.112.3";
52404
52408
  }
52405
52409
  getDDICReferences() {
52406
52410
  return this.ddicReferences;
@@ -72752,7 +72756,7 @@ DATA: BEGIN OF blah ##NEEDED,
72752
72756
  if (p === undefined) {
72753
72757
  return [];
72754
72758
  }
72755
- const concat = next.concatTokens().toUpperCase();
72759
+ const concat = (next === null || next === void 0 ? void 0 : next.concatTokens().toUpperCase()) || "";
72756
72760
  if (concat.includes(" SY-SUBRC")) {
72757
72761
  const message = "SUBRC_OK can be removed as sy-subrc is checked";
72758
72762
  const fix = edit_helper_1.EditHelper.deleteToken(file, p);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.112.1",
3
+ "version": "2.112.3",
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.112.1",
41
+ "@abaplint/core": "^2.112.3",
42
42
  "@types/chai": "^4.3.16",
43
43
  "@types/glob": "^8.1.0",
44
44
  "@types/minimist": "^1.2.5",