@abaplint/cli 2.119.14 → 2.119.15

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 -5
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -56244,7 +56244,7 @@ class Registry {
56244
56244
  }
56245
56245
  static abaplintVersion() {
56246
56246
  // magic, see build script "version.sh"
56247
- return "2.119.14";
56247
+ return "2.119.15";
56248
56248
  }
56249
56249
  getDDICReferences() {
56250
56250
  return this.ddicReferences;
@@ -78774,10 +78774,6 @@ class UnreachableCode extends _abap_rule_1.ABAPRule {
78774
78774
  || node.get() instanceof _statement_1.Empty) {
78775
78775
  continue;
78776
78776
  }
78777
- else if (this.isExit(node)) {
78778
- exit = true;
78779
- continue;
78780
- }
78781
78777
  else if (this.isStructure(node.get())) {
78782
78778
  exit = false;
78783
78779
  continue;
@@ -78786,6 +78782,11 @@ class UnreachableCode extends _abap_rule_1.ABAPRule {
78786
78782
  const issue = issue_1.Issue.atStatement(file, node, this.getMessage(), this.getMetadata().key, this.conf.severity);
78787
78783
  output.push(issue);
78788
78784
  exit = false;
78785
+ continue;
78786
+ }
78787
+ else if (this.isExit(node)) {
78788
+ exit = true;
78789
+ continue;
78789
78790
  }
78790
78791
  }
78791
78792
  return output;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.119.14",
3
+ "version": "2.119.15",
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.119.14",
41
+ "@abaplint/core": "^2.119.15",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",