浏览代码

remove modules update in npm package (for now)

Raanan Weber 7 年之前
父节点
当前提交
cde2af446c
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Tools/Publisher/index.js

+ 3 - 2
Tools/Publisher/index.js

@@ -112,7 +112,8 @@ function processCore(package, version) {
         }
         }
     ];
     ];
 
 
-    fs.readdirSync(basePath + '/modules/').forEach(object => {
+    // remove the modules for now
+    /*fs.readdirSync(basePath + '/modules/').forEach(object => {
         console.log(object);
         console.log(object);
         if (fs.statSync(basePath + '/modules/' + object).isDirectory) {
         if (fs.statSync(basePath + '/modules/' + object).isDirectory) {
             files.push({
             files.push({
@@ -121,7 +122,7 @@ function processCore(package, version) {
                 isDir: true
                 isDir: true
             });
             });
         }
         }
-    })
+    })*/
 
 
     //copy them to the package path
     //copy them to the package path
     files.forEach(file => {
     files.forEach(file => {