Skip to content

Commit 40c3660

Browse files
committed
Build with readBuffers
1 parent ee61727 commit 40c3660

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/jsroot.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120472,7 +120472,9 @@ class TProxyFile extends TFile {
120472120472
return Promise.reject(Error(`File is not opened ${this.fFileName}`));
120473120473

120474120474
if (isFunc(this.proxy.readBuffers))
120475-
return this.proxy.readBuffers(place);
120475+
return this.proxy.readBuffers(place).then(arr => {
120476+
return arr?.length === 1 ? arr[0] : arr;
120477+
});
120476120478

120477120479
if (place.length === 2)
120478120480
return this.proxy.readBuffer(place[0], place[1]);

0 commit comments

Comments
 (0)