check for empty string
This commit is contained in:
@@ -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("* ");
|
||||||
|
|||||||
Reference in New Issue
Block a user