gitea push

This commit is contained in:
2026-05-09 12:19:29 -06:00
parent 06113c95b8
commit 429461e985
1481 changed files with 74306 additions and 52475 deletions
+6 -11
View File
@@ -55,18 +55,13 @@ module.exports = class AliasFieldPlugin {
descriptionFileData,
this.field,
);
if (raw === null || typeof raw !== "object") {
this._fieldDataCache.set(descriptionFileData, NO_FIELD_OBJECT);
if (resolveContext.log) {
resolveContext.log(
`Field '${this.field}' doesn't contain a valid alias configuration`,
);
}
return callback();
}
fieldData = /** @type {{ [k: string]: JsonPrimitive }} */ (raw);
fieldData =
raw === null || typeof raw !== "object"
? NO_FIELD_OBJECT
: /** @type {{ [k: string]: JsonPrimitive }} */ (raw);
this._fieldDataCache.set(descriptionFileData, fieldData);
} else if (fieldData === NO_FIELD_OBJECT) {
}
if (fieldData === NO_FIELD_OBJECT) {
if (resolveContext.log) {
resolveContext.log(
`Field '${this.field}' doesn't contain a valid alias configuration`,