Browse Source

Fix publisher

sebavan 6 năm trước cách đây
mục cha
commit
6c91164c6c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Tools/Publisher/publisher.js

+ 1 - 1
Tools/Publisher/publisher.js

@@ -261,7 +261,7 @@ function processLegacyViewer(module, version) {
             let source = path.join(config.computed.rootFolder, file);
             let destination = path.join(buildPath, path.basename(file));
             colorConsole.log("    Copy required file: ", source.cyan, destination.cyan);
-            fs.copySync(file, destination);
+            fs.copySync(source, destination);
         });
     }