Skip to content

Commit dce00a1

Browse files
committed
2 parents 7f71659 + 028cd8f commit dce00a1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

client/tool/collie.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ def __init__(self, params):
2222
self.sensitive_word_maps = {"Collie": "Tool", "collie": "Tool"}
2323

2424
def analyze(self, params):
25+
relpos = len(params.source_dir) + 1
2526
issues = list()
2627
collie = Tool(params=params)
2728
func_output = collie.check()
2829
if func_output and os.path.exists(os.path.join(func_output, "check.csv")):
2930
for issue in collie.get_issue(os.path.join(func_output, "check.csv")):
31+
issue["path"] = issue["path"][relpos:]
3032
issues.append(issue)
3133

3234
return issues

doc/zh/quickStarted/intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
### 创建首个代码分析项目
1919

20-
成功部署并启动TCA后,您可以按照 [指引](./deployServer.md) 创建您的首个代码分析项目。
20+
成功部署并启动TCA后,您可以按照 [指引](./deploySever.md) 创建您的首个代码分析项目。
2121

2222
:::tip
2323
默认平台登录账号/密码:CodeDog/admin

0 commit comments

Comments
 (0)