mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
node.cc: fix bad assert
It was my mistake to change an assert check. This changes it back to how
the assert was originally done.
Fixes: c131c1f "modules: adding load linked modules feature"
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
This commit is contained in:
1 parent
58ca48fa3b
commit
a38b917821
1 file changed
+1
-1
+1
-1
@@ -2051,7 +2051,7 @@ extern "C" void node_module_register(void* m) {
|
||||
} else {
|
||||
// Once node::Init was called we can only register dynamic modules.
|
||||
// See DLOpen.
|
||||
CHECK_EQ(modpending, nullptr);
|
||||
CHECK_NE(modpending, nullptr);
|
||||
modpending = mp;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user