Skip to content

Commit

Permalink
src: fix typo in process.env accessor error message
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzraho committed Apr 11, 2023
1 parent e1f7842 commit 4874984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_env_var.cc
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static void EnvDefiner(Local<Name> property,
} else if (desc.has_get() || desc.has_set()) {
// we don't accept a getter/setter in 'process.env'
THROW_ERR_INVALID_OBJECT_DEFINE_PROPERTY(env,
"'process.env' does not accept an"
"'process.env' does not accept an"
" accessor(getter/setter)"
" descriptor");
} else {
Expand Down

0 comments on commit 4874984

Please sign in to comment.