Skip to content

Commit eb9820a

Browse files
committed
🎨update tool-flow
1 parent 23bec85 commit eb9820a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

client/tool/flow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ def analyze(self, params):
5959
SubProcController(["flow", "stop"], cwd=source_dir).wait()
6060

6161
# 删除flow生成的配置文件,并将客户代码库自身的配置文件拷贝会代码库中,恢复现场
62-
os.remove(config_file)
62+
if os.path.exists(config_file):
63+
os.remove(config_file)
6364
if os.path.exists(user_config_file):
6465
copyfile(user_config_file, config_file)
6566

0 commit comments

Comments
 (0)