diff --git a/src/bun.js/bindings/NodeVM.cpp b/src/bun.js/bindings/NodeVM.cpp index 289b423a5d..8146a46774 100644 --- a/src/bun.js/bindings/NodeVM.cpp +++ b/src/bun.js/bindings/NodeVM.cpp @@ -184,7 +184,7 @@ public: outCachedData = { span.begin(), span.end() }; isValidType = true; } - } else if (auto* arrayBuffer = JSC::jsDynamicCast(cachedDataOpt)) { + } else if (auto* arrayBuffer = JSC::jsDynamicCast(cachedDataOpt); arrayBuffer && arrayBuffer->impl()) { std::span span = arrayBuffer->impl()->span(); outCachedData = { span.begin(), span.end() }; isValidType = true; @@ -224,7 +224,6 @@ public: class ScriptOptions : public BaseOptions { public: std::optional timeout = std::nullopt; - bool importModuleDynamically = false; bool produceCachedData = false; std::vector cachedData;