浏览代码

Correction bug et libellé

Loquicom 5 年之前
父节点
当前提交
aaac6e6755
共有 1 个文件被更改,包括 3 次插入3 次删除
  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()}`);
     }
 }