API-32: Adding debugging infos
Jenkins Production Deployment Details

This commit is contained in:
Patrick Müller 2021-10-07 20:17:06 +02:00
parent 0a336082ed
commit 2764ca1057
1 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@ export const removeElective = function (ical: iCalFile, chosenElective: string):
let remainingEvents: string[] = [];
let electiveToRemove = electiveModules;
logger.info(JSON.stringify(electiveToRemove));
electiveToRemove.splice(parseInt(chosenElective), 1);
logger.info('Chosen elective: ' + chosenElective);
@ -121,6 +122,7 @@ export const removeProfile = function (ical: iCalFile, chosenProfile: string): i
let remainingEvents: string[] = [];
let profileToRemove = profileModules;
logger.info(JSON.stringify(profileToRemove));
profileToRemove.splice(parseInt(chosenProfile), 1);
logger.info('Chosen profile: ' + chosenProfile);