Commit 178dfdb9 authored by 智勇's avatar 智勇

up

parent b6dd9cac
...@@ -37,10 +37,10 @@ def findFile (dir): ...@@ -37,10 +37,10 @@ def findFile (dir):
findFile(dir + '/' + sub) findFile(dir + '/' + sub)
distPaths = [] distPaths = []
if project.index('--')>0: try project.index('--')>0:
distPaths.append(os.path.abspath(project.split('--')[0] + '/dist')) distPaths.append(os.path.abspath(project.split('--')[0] + '/dist'))
distPaths.append(os.path.abspath(project.split('--')[1] + '/dist')) distPaths.append(os.path.abspath(project.split('--')[1] + '/dist'))
else: except(ValueError):
distPaths.append(os.path.abspath(project + '/dist')) distPaths.append(os.path.abspath(project + '/dist'))
# 过滤符合要求的文件路径 # 过滤符合要求的文件路径
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment