Merge pull request #126 from philips/fix-missing-info-file

fix(config): use IsNotExist to test missing file
release-0.4
Brandon Philips 2013-08-17 14:07:50 -07:00
commit ef4aef950e
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ func readInfo(path string) *Info {
file, err := os.Open(path)
if err != nil {
if err == os.ErrNotExist {
if os.IsNotExist(err) {
return nil
}
fatal(err)