Skip to content

Commit 46fa8d6

Browse files
authored
Merge pull request #248 from Abirdcfly/patch-1
delete minor unreachable code caused by log.Fatal
2 parents 6fb1e0d + d8d4900 commit 46fa8d6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

framework/file/file.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ func GetCurrentDirectory() string {
1111
dir, err := filepath.Abs(filepath.Dir(os.Args[0]))
1212
if err != nil {
1313
log.Fatalln(err)
14-
os.Exit(1)
1514
}
1615
return strings.Replace(dir, "\\", "/", -1)
1716
}

0 commit comments

Comments
 (0)