mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
Fix bug in findByFullPath()
This commit is contained in:
parent
4bceb74cc4
commit
167916e8dd
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ module.exports = class FileEntry {
|
|||
// Checkums may have changed and are not validated here.
|
||||
static findByFullPath(fullPath, cb) {
|
||||
// first, basic by-filename lookup.
|
||||
FileEntry.findByFileNameWildcard(paths.basename(fuillPath), (err, entries) => {
|
||||
FileEntry.findByFileNameWildcard(paths.basename(fullPath), (err, entries) => {
|
||||
if(err) {
|
||||
return cb(err);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue