scholarsmate commented on code in PR #440:
URL: https://github.com/apache/daffodil-vscode/pull/440#discussion_r1093322822
##########
src/utils.ts:
##########
@@ -143,7 +143,13 @@ export async function unzipFile(zipFilePath: string,
extractPath: string) {
return await new Promise((resolve, reject) => {
let stream = fs
.createReadStream(zipFilePath)
+ /* Ignore error that type Extract is not WritableStream. If converted to
+ * unzip.Extract({ path: `${extractPath}` }).unzipStream it fails
completely
+ * but keeping it this way works fine
+ */
+ // @ts-ignore
Review Comment:
Can you cast it `as WritableStream`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]