mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 13:04:47 -04:00
parent
1b9dc52ef5
commit
51af1d2ead
@ -123,7 +123,7 @@ func (ns *Namespace) FileExists(i interface{}) (bool, error) {
|
||||
return false, errors.New("fileExists needs a path to a file")
|
||||
}
|
||||
|
||||
status, err := afero.Exists(ns.deps.Fs.WorkingDir, path)
|
||||
status, err := afero.Exists(ns.readFileFs, path)
|
||||
if err != nil {
|
||||
return false, err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user