From 5b05e6bbb69ac667d5f849b13b02542fb9be8b95 Mon Sep 17 00:00:00 2001 From: Louise Foussat Date: Mon, 22 Mar 2021 11:15:46 +0000 Subject: [PATCH] update personal shopper subject: precise handling of case when no keyword is passed --- subjects/personal-shopper/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subjects/personal-shopper/README.md b/subjects/personal-shopper/README.md index e70a581f..04233eac 100644 --- a/subjects/personal-shopper/README.md +++ b/subjects/personal-shopper/README.md @@ -43,6 +43,8 @@ Create a `personal-shopper.mjs` script that: - If the list is empty, this message should appear in console: `Empty list.`. +If no keyword is passed as second argument, the helper should be printed in the console. + #### Examples - `node personal-shopper.mjs shopping-list.json create` would create the file