Cleanup linting errors

This commit is contained in:
bitterpanda 2026-01-30 14:44:26 +01:00 committed by Sander Declerck
parent 0752139c4e
commit 1adb2b34ca
No known key found for this signature in database

View file

@ -79,6 +79,11 @@ function getPathsPerPlatform() {
}
}
/**
* @param {string} appName
* @param {string} logPath
* @param {string} errLogPath
*/
async function printLogs(appName, logPath, errLogPath) {
ui.writeInformation(`=== ${appName} Logs ===`);
try {
@ -89,7 +94,7 @@ async function printLogs(appName, logPath, errLogPath) {
ui.writeWarning(`${appName} log file not found: ${logPath}`);
}
} catch (error) {
ui.writeError(`Failed to read ${appName} logs: ${error.message}`);
ui.writeError(`Failed to read ${appName} logs: ${error}`);
}
ui.writeInformation(`=== ${appName} Error Logs ===`);
@ -101,6 +106,6 @@ async function printLogs(appName, logPath, errLogPath) {
ui.writeInformation(`No error log file found for ${appName}.`);
}
} catch (error) {
ui.writeError(`Failed to read ${appName} error logs: ${error.message}`);
ui.writeError(`Failed to read ${appName} error logs: ${error}`);
}
}