mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
late
Former-commit-id: 1d598bb05a3bac62d86063125e1fe2962f0b5cc6
This commit is contained in:
@@ -117,7 +117,7 @@ pub const Wundle = struct {
|
||||
prop: js.JSStringRef,
|
||||
exception: js.ExceptionRef,
|
||||
) js.JSValueRef {
|
||||
if (!VirtualMachine.vm.bundler.options.routes.routes_enabled or VirtualMachine.vm.bundler.options.routes.dir.len > 0) {
|
||||
if (!VirtualMachine.vm.bundler.options.routes.routes_enabled or VirtualMachine.vm.bundler.options.routes.dir.len == 0) {
|
||||
return js.JSValueMakeUndefined(ctx);
|
||||
}
|
||||
|
||||
@@ -238,6 +238,7 @@ pub const VirtualMachine = struct {
|
||||
log: *logger.Log,
|
||||
event_listeners: EventListenerMixin.Map,
|
||||
main: string = "",
|
||||
process: js.JSObjectRef = null,
|
||||
|
||||
pub var vm_loaded = false;
|
||||
pub var vm: *VirtualMachine = undefined;
|
||||
|
||||
Reference in New Issue
Block a user