From 97cd9442370cdc97c1aa4d23152b246cd3f4dc5c Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Thu, 28 Jul 2022 04:03:49 -0700 Subject: [node compat] Fix bug with `process.title` --- src/bun.js/bindings/Process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bun.js/bindings/Process.cpp') diff --git a/src/bun.js/bindings/Process.cpp b/src/bun.js/bindings/Process.cpp index 34597ade4..591482028 100644 --- a/src/bun.js/bindings/Process.cpp +++ b/src/bun.js/bindings/Process.cpp @@ -205,7 +205,7 @@ void Process::finishCreation(JSC::VM& vm) JSC::CustomGetterSetter::create(vm, Process_getPPID, nullptr), static_cast(JSC::PropertyAttribute::CustomValue)); - putDirectCustomAccessor(vm, JSC::Identifier::fromString(vm, "dlopen"_s), + putDirectCustomAccessor(vm, JSC::Identifier::fromString(vm, "title"_s), JSC::CustomGetterSetter::create(vm, Process_getTitle, Process_setTitle), static_cast(JSC::PropertyAttribute::CustomValue)); -- cgit v1.2.3