Browse Source

Ajout fichier de destination en parametre du callback

Loquicom 5 years ago
parent
commit
08c38ffb23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/parser/parser.js

+ 1 - 1
src/parser/parser.js

@@ -88,7 +88,7 @@ const parser = class Parser {
     _closetag(tag) {
         if (tag === ROOT_TAG && this.callback !== null) {
             if (instance.callback !== null) {
-                instance.callback();
+                instance.callback(instance.dest);
             }
             process.exit();
         } else if (instance._inTag && instance._tag === tag) {