@abaplint/cli 2.114.7 → 2.114.8
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 +9 -1
- package/package.json +2 -2
package/build/cli.js
CHANGED
|
@@ -54998,7 +54998,7 @@ class Registry {
|
|
|
54998
54998
|
}
|
|
54999
54999
|
static abaplintVersion() {
|
|
55000
55000
|
// magic, see build script "version.sh"
|
|
55001
|
-
return "2.114.
|
|
55001
|
+
return "2.114.8";
|
|
55002
55002
|
}
|
|
55003
55003
|
getDDICReferences() {
|
|
55004
55004
|
return this.ddicReferences;
|
|
@@ -57992,6 +57992,7 @@ class CheckSubrcConf extends _basic_rule_config_1.BasicRuleConfig {
|
|
|
57992
57992
|
this.updateDatabase = true;
|
|
57993
57993
|
this.insertDatabase = true;
|
|
57994
57994
|
this.modifyDatabase = true;
|
|
57995
|
+
this.deleteDatabase = true;
|
|
57995
57996
|
this.readTable = true;
|
|
57996
57997
|
this.assign = true;
|
|
57997
57998
|
this.find = true;
|
|
@@ -58086,6 +58087,13 @@ FIND statement with MATCH COUNT is considered okay if subrc is not checked`,
|
|
|
58086
58087
|
const fix = this.buildFix(file, statement);
|
|
58087
58088
|
issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity, undefined, [fix]));
|
|
58088
58089
|
}
|
|
58090
|
+
else if (config.deleteDatabase === true
|
|
58091
|
+
&& statement.get() instanceof Statements.DeleteDatabase
|
|
58092
|
+
&& this.isChecked(i, statements) === false
|
|
58093
|
+
&& this.checksDbcnt(i, statements) === false) {
|
|
58094
|
+
const fix = this.buildFix(file, statement);
|
|
58095
|
+
issues.push(issue_1.Issue.atStatement(file, statement, message, this.getMetadata().key, this.conf.severity, undefined, [fix]));
|
|
58096
|
+
}
|
|
58089
58097
|
else if (config.insertDatabase === true
|
|
58090
58098
|
&& statement.get() instanceof Statements.InsertDatabase
|
|
58091
58099
|
&& this.isChecked(i, statements) === false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/cli",
|
|
3
|
-
"version": "2.114.
|
|
3
|
+
"version": "2.114.8",
|
|
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.114.
|
|
41
|
+
"@abaplint/core": "^2.114.8",
|
|
42
42
|
"@types/chai": "^4.3.20",
|
|
43
43
|
"@types/minimist": "^1.2.5",
|
|
44
44
|
"@types/mocha": "^10.0.10",
|