Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions packages/xeus/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ export abstract class EmpackedXeusRemoteKernel extends XeusRemoteKernelBase {
pkgRootUrl: this._pkgRootUrl
});

if (
this.Module.FS === undefined ||
this.Module.loadDynamicLibrary === undefined
) {
if (this.Module.FS === undefined) {
console.warn(
`Cannot initialize the file-system of ${kernelSpec.dir} since it wasn't compiled with FS support.`
);
Expand Down Expand Up @@ -144,10 +141,7 @@ export abstract class EmpackedXeusRemoteKernel extends XeusRemoteKernelBase {
protected async initializeInterpreter(
options: IEmpackXeusWorkerKernel.IOptions
) {
if (
this.Module.FS === undefined ||
this.Module.loadDynamicLibrary === undefined
) {
if (this.Module.FS === undefined) {
// Return early, we've already warned earlier
return;
}
Expand Down
Loading