Skip to content

Commit

Permalink
fix report
Browse files Browse the repository at this point in the history
  • Loading branch information
brianignacio5 committed May 16, 2023
1 parent 5fd4b0e commit b03ba6b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/support/writeReport.ts
Expand Up @@ -59,11 +59,8 @@ export async function writeTextReport(
if (reportedResult.configurationSettings.customTerminalExecutable) {
output += `Custom terminal executable (idf.customTerminalExecutable) ${reportedResult.configurationSettings.customTerminalExecutable}${EOL}`;
}
if (reportedResult.configurationSettings.customTerminalExecutableArgs && Object.keys(reportedResult.configurationSettings.customTerminalExecutableArgs)) {
output += `Custom terminal executable args (idf.customTerminalExecutableArgs)${EOL}`;
for (let k = 0; k < reportedResult.configurationSettings.customTerminalExecutableArgs.length; k++) {
output += ` ${k}: ${reportedResult.configurationSettings.customTerminalExecutableArgs[k]}${EOL}`;
}
if (reportedResult.configurationSettings.customTerminalExecutableArgs && reportedResult.configurationSettings.customTerminalExecutableArgs.length) {
output += `Custom terminal executable args (idf.customTerminalExecutableArgs)${reportedResult.configurationSettings.customTerminalExecutableArgs}${EOL}`;
}
output += `-------------------------------------------------------- Configurations access -------------------------------------------------------------${EOL}`;
output += `Access to ESP-ADF Path (idf.espAdfPath) ${reportedResult.configurationAccess.espAdfPath}${EOL}`;
Expand Down

0 comments on commit b03ba6b

Please sign in to comment.