@abaplint/cli 2.113.195 → 2.113.196

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 +8 -1
  2. package/package.json +2 -2
package/build/cli.js CHANGED
@@ -46587,6 +46587,13 @@ class AbstractObject {
46587
46587
  }
46588
46588
  addFile(file) {
46589
46589
  this.setDirty();
46590
+ // update if it already exists
46591
+ for (let i = 0; i < this.files.length; i++) {
46592
+ if (this.files[i].getFilename() === file.getFilename()) {
46593
+ this.files[i] = file;
46594
+ return;
46595
+ }
46596
+ }
46590
46597
  this.files.push(file);
46591
46598
  }
46592
46599
  getFiles() {
@@ -54977,7 +54984,7 @@ class Registry {
54977
54984
  }
54978
54985
  static abaplintVersion() {
54979
54986
  // magic, see build script "version.sh"
54980
- return "2.113.195";
54987
+ return "2.113.196";
54981
54988
  }
54982
54989
  getDDICReferences() {
54983
54990
  return this.ddicReferences;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/cli",
3
- "version": "2.113.195",
3
+ "version": "2.113.196",
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.195",
41
+ "@abaplint/core": "^2.113.196",
42
42
  "@types/chai": "^4.3.20",
43
43
  "@types/minimist": "^1.2.5",
44
44
  "@types/mocha": "^10.0.10",