Fix for the 'start' range of BlobDataItem when reading its stream (#85)

Set default value for 'start' option
This commit is contained in:
Nick K
2021-04-26 12:06:27 +02:00
committed by GitHub
parent cc929f3714
commit 483973cf25
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class BlobDataItem {
constructor(options) {
this.size = options.size;
this.path = options.path;
this.start = options.start;
this.start = options.start || 0;
this.mtime = options.mtime;
}