Skip to content

Commit

Permalink
this is awful. why does anyone want this lint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
JakobJingleheimer committed Oct 1, 2024
1 parent ed4db64 commit 9a4b1d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/node_modules.cc
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,7 @@ void BindingData::GetNearestRawParentPackageJSON(

auto package_json = TraverseParent(
realm,
std::filesystem::path(path_value.ToString())
);
std::filesystem::path(path_value.ToString()));

if (package_json != nullptr) {
Local<Value> result[2] = {
Expand Down

0 comments on commit 9a4b1d1

Please sign in to comment.