@abaplint/core 2.117.2 → 2.117.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.
package/build/src/registry.js
CHANGED
|
@@ -17,7 +17,7 @@ class SMIMConsistency {
|
|
|
17
17
|
key: "smim_consistency",
|
|
18
18
|
title: "SMIM consistency check",
|
|
19
19
|
shortDescription: `SMIM consistency check`,
|
|
20
|
-
extendedInformation: "
|
|
20
|
+
extendedInformation: "Checks that the parent folder of each MIME object exists in the registry. The SAP system folder /SAP/PUBLIC is always allowed as a parent even if not present in the repository.",
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
getConfig() {
|
|
@@ -36,7 +36,7 @@ class SMIMConsistency {
|
|
|
36
36
|
return [];
|
|
37
37
|
}
|
|
38
38
|
const base = this.base(obj.getURL() || "");
|
|
39
|
-
if (base !== "" && this.findFolder(base) === false) {
|
|
39
|
+
if (base !== "" && base !== "/SAP/PUBLIC" && this.findFolder(base) === false) {
|
|
40
40
|
const message = `Parent folder "${base}" not found`;
|
|
41
41
|
const position = new position_1.Position(1, 1);
|
|
42
42
|
const issue = issue_1.Issue.atPosition(obj.getFiles()[0], position, message, this.getMetadata().key, this.conf.severity);
|