Skip to content

Commit 0658454

Browse files
committed
Remove underscore reference from filestorage plugin
1 parent 33108b9 commit 0658454

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/filestorage/localfs/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ LocalFileStorage.prototype.processFileUpload = function (file, newPath, options,
232232
if (options.createMetadata) {
233233
return self.inspectFile(newPath, file.type, function (err, withMeta) {
234234
if (withMeta) {
235-
data = _.extend(data, withMeta);
235+
Object.assign(data, withMeta);
236236
}
237237
nextFunc();
238238
});

0 commit comments

Comments
 (0)