We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f47e9da commit 5daf897Copy full SHA for 5daf897
lib/file.js
@@ -12,14 +12,13 @@ function File(properties) {
12
this.path = null;
13
this.name = null;
14
this.type = null;
15
+ this.hash = null;
16
this.lastModifiedDate = null;
17
18
this._writeStream = null;
19
- if(typeof properties === 'object') {
20
- for (var key in properties) {
21
- this[key] = properties[key];
22
- }
+ for (var key in properties) {
+ this[key] = properties[key];
23
}
24
25
if(typeof this.hash === 'string') {
0 commit comments