Arreglar petición de archivo
This commit is contained in:
parent
c0b546aa95
commit
6b1f9ffc8d
|
@ -283,7 +283,6 @@ FileSystemProvider.prototype.getFiles = function(container, options, cb) {
|
|||
|
||||
FileSystemProvider.prototype.getFile = function(container, file, cb) {
|
||||
var self = this;
|
||||
if (!validateName(container, cb)) return;
|
||||
if (!validateName(file, cb)) return;
|
||||
var filePath = path.join(this.root, container, file);
|
||||
fs.stat(filePath, function(err, stat) {
|
||||
|
|
Loading…
Reference in New Issue