Commit 608cf383 Harvey

no message

1 个父辈 439cac7e
...@@ -14,7 +14,6 @@ const path = require('path'); ...@@ -14,7 +14,6 @@ const path = require('path');
* @returns {object} 包含所有加载模块的对象(以相对路径为键) * @returns {object} 包含所有加载模块的对象(以相对路径为键)
*/ */
function loadAllJSFiles(dirPaths, options = {}) { function loadAllJSFiles(dirPaths, options = {}) {
debugger;
const { ignoreNodeModules = true, filter = null } = options; const { ignoreNodeModules = true, filter = null } = options;
const loadedModules = {}; const loadedModules = {};
// 统一处理为数组形式 // 统一处理为数组形式
......
...@@ -12,7 +12,6 @@ const path = require('path'); ...@@ -12,7 +12,6 @@ const path = require('path');
* @returns {object} 包含所有加载模块的对象(以相对路径为键) * @returns {object} 包含所有加载模块的对象(以相对路径为键)
*/ */
function loadAllJSFiles(dirPaths, options: any = {}) { function loadAllJSFiles(dirPaths, options: any = {}) {
debugger
const { const {
ignoreNodeModules = true, ignoreNodeModules = true,
filter = null filter = null
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!