Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Dec 16, 2024
1 parent 2526a13 commit 07234d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,13 @@ void s_threadsafe_log_create(struct aws_napi_logger_ctx *ctx, napi_env env) {
/* process._rawDebug is specific to NodeJS and may not exist in
other environments like Deno, fall back to console.error */
if (rawdebug_type == napi_undefined) {
napi_value node_console = NULL;
AWS_NAPI_ENSURE(env, napi_get_named_property(env, node_global, "console", &node_console));
napi_value node_console = NULL;
AWS_NAPI_ENSURE(env, napi_get_named_property(env, node_global, "console", &node_console));

napi_value node_error = NULL;
AWS_NAPI_ENSURE(env, napi_get_named_property(env, node_console, "error", &node_error));
napi_value node_error = NULL;
AWS_NAPI_ENSURE(env, napi_get_named_property(env, node_console, "error", &node_error));

node_rawdebug = node_error;
node_rawdebug = node_error;
}

napi_value resource_name = NULL;
Expand Down

0 comments on commit 07234d2

Please sign in to comment.