Skip to content

Commit 89b4c81

Browse files
committed
fix(alita): 未找到 import/require 模块 添加错误警告
1 parent 55ea07d commit 89b4c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/basetran/handleModules.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ function getFinalSource(filepath, source) {
321321
}
322322

323323
if (!finalSource) {
324-
console.log(`${filepath.replace(global.execArgs.OUT_DIR, '')}: 未找到${source}模块!`)
324+
console.log(`${filepath.replace(global.execArgs.OUT_DIR, '')}: 未找到${source}模块!`.error)
325325
}
326326
return finalSource
327327
}

0 commit comments

Comments
 (0)