Browse Source

return promise from Url’s addFile

Artur Paikin 7 years ago
parent
commit
ecc634bda8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/plugins/Url/index.js

+ 1 - 1
src/plugins/Url/index.js

@@ -83,7 +83,7 @@ module.exports = class Url extends Plugin {
   }
 
   addFile (url) {
-    this.getMeta(url).then((meta) => {
+    return this.getMeta(url).then((meta) => {
       const tagFile = {
         source: this.id,
         name: this.getFileNameFromUrl(url),