Skip to content

Commit

Permalink
using pringln not log.fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
kotaaaa committed Nov 10, 2021
1 parent f74a772 commit 1b34df3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kadai1/kotaaaa/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package main
import (
"flag"
"fmt"
"log"

"github.com/kotaaaa/gopherdojo-studyroom/kadai1/kotaaaa/convert"
"github.com/kotaaaa/gopherdojo-studyroom/kadai1/kotaaaa/search"
Expand All @@ -29,7 +28,7 @@ func main() {
// Get file list (Relative path from basePath)
fileNames, err := search.GetFiles(targetPath, targetSrcExt)
if err != nil {
log.Fatal(err)
fmt.Println("Error Occuerrd ", err)
}

for _, fileName := range fileNames {
Expand Down

0 comments on commit 1b34df3

Please sign in to comment.