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 0489f42 commit a4e7111Copy full SHA for a4e7111
src/jarContentProvider.ts
@@ -19,7 +19,7 @@ export class JarContentProvider implements vscode.TextDocumentContentProvider {
19
fs.readFile(pathToJar, (err, data) => {
20
let zip = new JSZip();
21
zip.loadAsync(data).then((new_zip) => {
22
- new_zip.file(pathToFileInJar).async("text").then((value) => {
+ new_zip.file(pathToFileInJar)?.async("text").then((value) => {
23
resolve(value);
24
})
25
0 commit comments