refactor(pr): remove unused path predicates · openclaw/openclaw@0edd84f
vincentkoc
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,26 +16,6 @@ path_is_docsish() {
|
16 | 16 | return 1 |
17 | 17 | } |
18 | 18 | |
19 | | -path_is_testish() { |
20 | | -local path="$1" |
21 | | -case "$path" in |
22 | | -*__tests__/*|*.test.*|*.spec.*|test/*|tests/*) |
23 | | -return 0 |
24 | | - ;; |
25 | | -esac |
26 | | -return 1 |
27 | | -} |
28 | | - |
29 | | -path_is_maintainer_workflow_only() { |
30 | | -local path="$1" |
31 | | -case "$path" in |
32 | | - .agents/*|scripts/pr|scripts/pr-*|docs/subagent.md) |
33 | | -return 0 |
34 | | - ;; |
35 | | -esac |
36 | | -return 1 |
37 | | -} |
38 | | - |
39 | 19 | file_list_is_docsish_only() { |
40 | 20 | local files="$1" |
41 | 21 | local saw_any=false |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。