Skip to content

Commit

Permalink
Merge pull request kelseyhightower#703 from msolimans/master
Browse files Browse the repository at this point in the history
isFileExist() was not defined in windows
  • Loading branch information
okushchenko authored Apr 28, 2018
2 parents 93c8904 + 9b265eb commit fa37c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/filestat_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

// filestat return a FileInfo describing the named file.
func FileStat(name string) (fi FileInfo, err error) {
if isFileExist(name) {
if IsFileExist(name) {
f, err := os.Open(name)
if err != nil {
return fi, err
Expand Down

0 comments on commit fa37c99

Please sign in to comment.