Skip to content

Commit

Permalink
Merge pull request #69 from meian/remove-unused-call
Browse files Browse the repository at this point in the history
不要な呼び出しを削除
  • Loading branch information
meian authored Apr 12, 2020
2 parents 844d10c + 17d1881 commit fee1440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion path/dir_path.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func init() {

// DirPath はソースコードのディレクトリパスを返す
func DirPath(src string) string {
pkg := filepath.Dir(filepath.ToSlash(src))
pkg := filepath.Dir(src)
switch pkg {
case "", ".":
return "."
Expand Down

0 comments on commit fee1440

Please sign in to comment.