Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into baudehlo-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
baudehlo committed Nov 4, 2024
2 parents e0222e4 + c529380 commit abf856a
Show file tree
Hide file tree
Showing 7 changed files with 552 additions and 246 deletions.
2 changes: 1 addition & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"targets": [
{
"target_name": "fs-ext",
"target_name": "fs_ext",
"include_dirs" : [ "<!(node -e \"require('nan')\")" ],
"sources": [
"fs-ext.cc"
Expand Down
4 changes: 3 additions & 1 deletion fs-ext.cc
Original file line number Diff line number Diff line change
Expand Up @@ -616,5 +616,7 @@ NAN_MODULE_INIT(init)
}

#if NODE_MODULE_VERSION > 1
NODE_MODULE(fs_ext, init)
NODE_MODULE_INIT() {
init(exports);
}
#endif
2 changes: 1 addition & 1 deletion fs-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

"use strict";

var binding = require('./build/Release/fs-ext');
var binding = require('./build/Release/fs_ext');

// Used by flock
function stringToFlockFlags(flag) {
Expand Down
Loading

0 comments on commit abf856a

Please sign in to comment.