Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
build: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jackhorton authored and MSLaguana committed Sep 27, 2017
1 parent 1daa223 commit 2cbd199
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/chakrashim/include/v8.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
// This is a temporary workaround and should go away once
// node-core has less of a dependency on the shim
namespace uvimpl {
class Work;
class Work;
};

namespace v8 {
Expand Down
3 changes: 2 additions & 1 deletion src/node_api_jsrt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2718,7 +2718,8 @@ napi_status napi_create_async_work(napi_env env,
napi_value resource_name;
CHECK_NAPI(napi_coerce_to_string(env, async_resource_name, &resource_name));

uvimpl::Work* work = uvimpl::Work::New(env, resource, resource_name, execute, complete, data);
uvimpl::Work* work =
uvimpl::Work::New(env, resource, resource_name, execute, complete, data);

*result = reinterpret_cast<napi_async_work>(work);

Expand Down

0 comments on commit 2cbd199

Please sign in to comment.