We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a problem with the latest versions of nodejs.
In particular in fileInfo.js (line 24) there is the need to know the file path.
function FileInfo(file, opts, fields) { ... this.key = getFileKey(file.path); ... }
but in local.js (line 24) the path is not passed in the object:
var fileInfo = new FileInfo({ name: name, size: stats.size, lastMod: stats.mtime }, options);
The method getFileKey() return path.basename(filePath); but being undefined path that causes an error.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There is a problem with the latest versions of nodejs.
In particular in fileInfo.js (line 24) there is the need to know the file path.
function FileInfo(file, opts, fields) { ... this.key = getFileKey(file.path); ... }
but in local.js (line 24) the path is not passed in the object:
var fileInfo = new FileInfo({ name: name, size: stats.size, lastMod: stats.mtime }, options);
The method getFileKey() return path.basename(filePath); but being undefined path that causes an error.
The text was updated successfully, but these errors were encountered: