JavaScript: fix filesystem issue

This commit is contained in:
Alexey Andreev 2019-05-31 17:36:32 +03:00
parent 91de1f6ca7
commit c8676f7ffe

View File

@ -53,6 +53,10 @@ public class InMemoryVirtualFile extends AbstractInMemoryVirtualFile {
return null;
}
if (writable && readOnly) {
return null;
}
return new VirtualFileAccessor() {
@Override
public int read(int pos, byte[] buffer, int offset, int limit) {