From c26278b17b6ee2a703b3296504d9f22f4f8f9a20 Mon Sep 17 00:00:00 2001 From: "Guillaume DESPREZ (T0128193)" Date: Thu, 6 Jun 2024 14:04:56 +0200 Subject: [PATCH] fix: #10 Export for Maven project (projectName = groupId:artifactId) --- EcoSonar-API/services/exportAuditService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EcoSonar-API/services/exportAuditService.js b/EcoSonar-API/services/exportAuditService.js index ec9d63a..b6ab990 100644 --- a/EcoSonar-API/services/exportAuditService.js +++ b/EcoSonar-API/services/exportAuditService.js @@ -137,7 +137,7 @@ function formatExcelSheet (urlName, index, workbook, projectName, analysis, date if (urlName !== '') { sheet = workbook.addWorksheet('url' + index) } else { - sheet = workbook.addWorksheet(projectName) + sheet = workbook.addWorksheet(projectName.replace(":", " ")) } let row = sheet.getRow(1) row.getCell(1).value = 'EcoSonar Analysis'