Skip to content

Commit 802ac63

Browse files
authored
Fix opening of isfs files from ObjectScript Explorer (#1072)
1 parent 0702df5 commit 802ac63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/explorer/explorer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export function registerExplorerOpen(): vscode.Disposable {
5858
await vscode.window.showTextDocument(uri, { preview: usePreview });
5959
} else {
6060
// This allows use of binary editors such as the Luna Paint extension.
61-
await vscode.workspace.fs.stat(uri);
61+
await vscode.workspace.fs.readFile(uri);
6262
await vscode.commands.executeCommand("vscode.open", uri, { preview: usePreview });
6363
}
6464
} catch (error) {

0 commit comments

Comments
 (0)