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 0ec3e0d commit ca158f4Copy full SHA for ca158f4
git/gitapi.js
@@ -125,16 +125,18 @@ let git = {
125
126
}
127
128
+
129
// get data from response
130
- const respReader = await resp.body.getReader();
131
+ const reader = await resp.body.getReader();
132
- const respReaderObj = await respReader.read();
133
+ const readerResp = await reader.read();
134
- const respObj = respReaderObj.value;
135
+ const readerChunk = readerResp.value;
136
+ const readerDone = readerResp.done; // true if read all chunks
137
138
+ return readerChunk;
139
- return respObj;
-
140
},
141
142
// get items in tree
0 commit comments