Minor updates to FileEntry / oputil

This commit is contained in:
Bryan Ashby 2018-11-04 15:01:27 -07:00
parent d7aabba847
commit 63b5eed504
2 changed files with 25 additions and 2 deletions

View file

@ -319,7 +319,7 @@ function getFileEntries(pattern, cb) {
return callback(null, entries); // already got it by FILE_ID
}
FileEntry.findFileBySha(pattern, (err, fileEntry) => {
FileEntry.findBySha(pattern, (err, fileEntry) => {
return callback(null, fileEntry ? [ fileEntry ] : null );
});
},