Skip to content

Commit fef8b19

Browse files
authored
Update build.py
1 parent 907c75e commit fef8b19

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

package/build.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ def main():
4141

4242
success_count = 0
4343
task_error_list = []
44+
if len(config) == 0:
45+
print("无任务")
46+
sys.exit(0)
4447
# 遍历所有打包任务
4548
for i, task in enumerate(config, start=1):
4649
try:
@@ -157,4 +160,4 @@ def main():
157160
sys.exit(0)
158161

159162
if __name__ == '__main__':
160-
main()
163+
main()

0 commit comments

Comments
 (0)