Skip to content

Commit e0b297c

Browse files
committed
[update] replace hasPrefix to Contains
1 parent c46eb47 commit e0b297c

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
## Description of Changes
2-
Please describe what this Pull Request changes.
1+
## 変更内容
2+
このプルリクエストでの変更内容を記載してください。
33

4-
## Related Issue
5-
Please link any related issue here.
6-
Example: close #123
4+
## 関連Issue
5+
関連するIssueがあれば、ここにリンクを記載してください。
6+
: close #123
77

8-
## Checklist
9-
- [ ] I have read the [CONTRIBUTING.md](https://github.com/ggc-dev/ggc/blob/main/CONTRIBUTING.md)
10-
- [ ] I have added or updated tests
11-
- [ ] I have updated the documentation (if required)
12-
- [ ] Code is formatted with `make fmt`
13-
- [ ] Code passes linter checks via `make lint`
14-
- [ ] All tests are passing
8+
## チェックリスト
9+
- [ ] [CONTRIBUTING.md](https://github.com/ggc-dev/ggc/blob/main/CONTRIBUTING.md)を読みました
10+
- [ ] テストを追加または更新しました
11+
- [ ] 必要に応じてドキュメントを更新しました
12+
- [ ] `make fmt`でコードをフォーマットしました
13+
- [ ] `make lint`でリンターチェックをパスしました
14+
- [ ] すべてのテストがパスしています
1515

16-
## Screenshots (if appropriate)
17-
Add screenshots to help explain your changes.
16+
## スクリーンショット(必要な場合)
17+
変更内容を説明するのに役立つスクリーンショットを追加してください。
1818

19-
## Additional Context
20-
Add any other context about the pull request here that would help reviewers.
19+
## 補足情報
20+
レビュアーの参考になる追加情報があれば、ここに記載してください。

cmd/interactive.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func (ui *UI) Run() []string {
160160
// Filtering
161161
filtered := []CommandInfo{}
162162
for _, cmd := range commands {
163-
if strings.HasPrefix(cmd.Command, input) {
163+
if strings.Contains(cmd.Command, input) {
164164
filtered = append(filtered, cmd)
165165
}
166166
}

0 commit comments

Comments
 (0)