@abaplint/cli 2.113.10 → 2.113.11
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.
- package/build/cli.js +16 -2
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -229,7 +229,7 @@ class ApplyFixes {
|
|
|
229
229
|
&& list2.range.end.getRow() >= list1.range.start.getRow()) {
|
|
230
230
|
return true;
|
|
231
231
|
}
|
|
232
|
-
if (list2.range.start.getRow() <= list1.range.
|
|
232
|
+
if (list2.range.start.getRow() <= list1.range.end.getRow()
|
|
233
233
|
&& list2.range.end.getRow() >= list1.range.end.getRow()) {
|
|
234
234
|
return true;
|
|
235
235
|
}
|
|
@@ -255,6 +255,20 @@ class ApplyFixes {
|
|
|
255
255
|
appliedIssues.push(i);
|
|
256
256
|
edits.push(edit);
|
|
257
257
|
}
|
|
258
|
+
/*
|
|
259
|
+
if (edits.length > 0) {
|
|
260
|
+
console.log("EDITS:");
|
|
261
|
+
for (const e of edits) {
|
|
262
|
+
for (const filename of Object.keys(e)) {
|
|
263
|
+
console.log("\t" + filename);
|
|
264
|
+
for (const i of e[filename]) {
|
|
265
|
+
console.dir(i.range);
|
|
266
|
+
console.dir(i.newText);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
*/
|
|
258
272
|
const changed = (0, core_1.applyEditList)(reg, edits);
|
|
259
273
|
for (const filename of changed) {
|
|
260
274
|
this.changedFiles.add(filename);
|
|
@@ -52732,7 +52746,7 @@ class Registry {
|
|
|
52732
52746
|
}
|
|
52733
52747
|
static abaplintVersion() {
|
|
52734
52748
|
// magic, see build script "version.sh"
|
|
52735
|
-
return "2.113.
|
|
52749
|
+
return "2.113.11";
|
|
52736
52750
|
}
|
|
52737
52751
|
getDDICReferences() {
|
|
52738
52752
|
return this.ddicReferences;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.113.
|
|
3
|
+
"version": "2.113.11",
|
|
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.
|
|
41
|
+
"@abaplint/core": "^2.113.11",
|
|
42
42
|
"@types/chai": "^4.3.19",
|
|
43
43
|
"@types/glob": "^8.1.0",
|
|
44
44
|
"@types/minimist": "^1.2.5",
|