Skip to content

Commit a66cb10

Browse files
author
en-ken
committed
refactor: fix redundant descriptions
1 parent d5469de commit a66cb10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kadai2/en-ken/kadai2/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010

1111
func main() {
1212
cli := &cli.CLI{
13-
AllFilePaths: func(path string, ext string) ([]string, error) { return imgcnv.AllFilePaths(path, ext) },
14-
NewImageFIle: func(path string) (imgcnv.ImageFile, error) { return imgcnv.NewImageFile(path) },
13+
AllFilePaths: imgcnv.IAllFilePaths(imgcnv.AllFilePaths),
14+
NewImageFIle: imgcnv.INewImageFile(imgcnv.NewImageFile),
1515
}
1616

1717
err := cli.Execute(os.Args)

0 commit comments

Comments
 (0)