Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

分支带 /的扫描报错 #1379

Open
arthur657834 opened this issue Aug 9, 2019 · 0 comments
Open

分支带 /的扫描报错 #1379

arthur657834 opened this issue Aug 9, 2019 · 0 comments

Comments

@arthur657834
Copy link

System and Python Environment

Item Tooltip Value
System uname -a
Python python -V
Cobra python cobra.py

Description

[Description of the bug or feature]

Steps to Reproduce

utils.py 文件 def target_directory
149 if '/' in branch:
150 target, branch = '{t}:{b}'.format(t=target, b=branch), 'master'

这个判断必要性在哪,为什么要替换成master,master 难道一定会存在吗 ????target 替换之后会通不过re.match的正则校验从而出错

Expected behavior: [What you expected to happen]

Actual behavior: [What actually happened]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant