update happiness manager subject: precise handling of case when a key already exist in original file

This commit is contained in:
Louise Foussat 2021-03-22 11:15:04 +00:00 committed by Clément
parent 3086ead9bf
commit 2012de92dd
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ The script must:
- Take a directory as first argument (the `guest` directory)
- Take a file `.json` as second argument:
- If the file already exists, it will add the informations to it.
- If the file already exists, it will add the informations to it. If some elements already exist in the original file, it will be replaced by new values.
- If it doesn't, the script must handle the creation of the file.
- Handle case when no one answered yes to the invitation:
- `No one is coming.` has to appear in console.