Browse Source

Correction bug et libellé

Loquicom 5 years ago
parent
commit
aaac6e6755
1 changed files with 3 additions and 3 deletions
  1. 3 3
      extract.js

+ 3 - 3
extract.js

@@ -40,7 +40,7 @@ if (name === null) {
         message: 'Enter the name of the author whose information you want to extract: >',
     }).then(answer => {
         // Lancement du prgramme
-        extract(source, name);
+        extract(source, answer.name);
     });
 }
 // Sinon on lance le programme
@@ -51,12 +51,12 @@ else {
 function extract(source, name) {
     name = name.trim();
     if (verbose) {
-        console.info(`Search for ${name}'s co-authors...`);
+        console.info(`Extraction of ${name}'s information...`);
         timer.start();
     }
     //TODO Extraction
     if (verbose) {
         timer.stop();
-        console.info(`${name}'s co-authors find in ${timer.time()}`);
+        console.info(`Information about ${name} extracted in ${timer.time()}`);
     }
 }