diff options
author | 2022-07-28 04:03:49 -0700 | |
---|---|---|
committer | 2022-07-28 04:03:49 -0700 | |
commit | 97cd9442370cdc97c1aa4d23152b246cd3f4dc5c (patch) | |
tree | 9571d4852e75d30b20155343826a2c7aaea03b36 /src/bun.js/bindings/Process.cpp | |
parent | 5cf39ef6c57327d4ebe063dfd19c67e67408563d (diff) | |
download | bun-97cd9442370cdc97c1aa4d23152b246cd3f4dc5c.tar.gz bun-97cd9442370cdc97c1aa4d23152b246cd3f4dc5c.tar.zst bun-97cd9442370cdc97c1aa4d23152b246cd3f4dc5c.zip |
[node compat] Fix bug with `process.title`
Diffstat (limited to 'src/bun.js/bindings/Process.cpp')
-rw-r--r-- | src/bun.js/bindings/Process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<unsigned>(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<unsigned>(JSC::PropertyAttribute::CustomValue)); |