Skip to content

Commit c9b4932

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 1905a8a + 691f1b7 commit c9b4932

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/modules/storage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export default class Storage extends Base {
8585
*/
8686
uploadFile(name: string, filePath: string, metadata: Object = {}, listener: Function = noop): Promise<Object> {
8787
const _filePath = filePath.replace('file://', '');
88-
this.log.debug('uploadFile(', _filepath, ') -> ', name);
88+
this.log.debug('uploadFile(', _filePath, ') -> ', name);
8989
const listeners = [
9090
this._addListener('upload_paused', listener),
9191
this._addListener('upload_resumed', listener),
@@ -98,7 +98,7 @@ export default class Storage extends Base {
9898
return res;
9999
})
100100
.catch(err => {
101-
this.log.error('Error uploading file ', name, ' to ', filepath, '. Error: ', err);
101+
this.log.error('Error uploading file ', name, ' to ', _filePath, '. Error: ', err);
102102
throw err;
103103
});
104104
}

0 commit comments

Comments
 (0)