Skip to content
Snippets Groups Projects
Commit fd985731 authored by michael.minelli's avatar michael.minelli
Browse files

ExerciceRoutes => Bug fix: Replace all ':' of time by '_'

parent 7ffb016f
Branches
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ class ExerciceRoutes implements RoutesManager {
}
});
fs.writeFileSync(path.join(Config.getResultsFolder(exercice), `${ result.dateTime.toISOString().replace(':', '-') }.tar.gz`), params.archiveBase64, 'base64');
fs.writeFileSync(path.join(Config.getResultsFolder(exercice), `${ result.dateTime.toISOString().replace(/:/g, '_') }.tar.gz`), params.archiveBase64, 'base64');
req.session.sendResponse(res, StatusCodes.OK);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment