check for empty string

This commit is contained in:
2025-11-16 16:35:17 +01:00
parent 66fd6d6780
commit b9e16a52ec

View File

@@ -58,7 +58,9 @@ export class EfiBootMgrService {
}; };
} }
return outputValues.entries.map((v) => { return outputValues.entries
.filter((e) => ![e].join(""))
.map((v) => {
logger.debug(`Processing boot entry: ${v}`); logger.debug(`Processing boot entry: ${v}`);
const [bootStr, labelStr] = v.split("* "); const [bootStr, labelStr] = v.split("* ");