Skip to content

Commit 353bd61

Browse files
committed
fix: golint and golangci-lint
1 parent 307de4c commit 353bd61

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

cmd/qiitask/subcmd/cmdsort/cmd_sort.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ func (c *Command) askIsALessThanB(a, b string, indexQ int) bool {
108108
return answer == a
109109
}
110110

111+
// GetTaks は現在のタスク一覧のを返します。完了済のタスクはソートされた状態で返されます。
111112
func (c *Command) GetTaks() (*todo.Todo, error) {
112113
taskList := c.AppInfo.Tasks.Local
113114

cmd/qiitask/subcmd/cmdsort/cmd_sort_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ func createTask(t *testing.T, todo string, isDone bool) todotxt.Task {
3636
}
3737

3838
func createSortCommand(t *testing.T, pathDirTemp string) *cmdsort.Command {
39+
t.Helper()
40+
3941
appInfo, err := appinfo.New(pathDirTemp, pathDirTemp, "")
4042
require.NoError(t, err)
4143

0 commit comments

Comments
 (0)