Skip to content
代码片段 群组 项目
提交 d8302ff1 编辑于 作者: Jing Teng's avatar Jing Teng 提交者: Timotej Ecimovic
浏览文件

remove duplicate if logic

上级 08679cbf
No related branches found
No related tags found
无相关合并请求
......@@ -45,9 +45,7 @@ function httpPostFileOpen(db) {
if (zapFilePath) {
name = path.posix.basename(zapFilePath)
env.logDebug(`Loading project(${name})`)
}
if (zapFilePath) {
try {
let importResult = await importJs.importDataFromFile(db, zapFilePath, {
sessionId: req.zapSessionId,
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册