Skip to content

Commit

Permalink
fix prebuild directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
llimllib committed May 23, 2024
1 parent 6d001ba commit b1cbe2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate/templates/templates/nodegit.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
var _ = require("lodash");
var util = require("util");
var path = require("path");
var worker;

try {
worker = require("worker_threads");
} catch (e) {}

var rawApi = require("node-gyp-build")(__dirname);
var rawApi = require("node-gyp-build")(path.join(__dirname, ".."));

var promisify = fn => fn && util.promisify(fn); // jshint ignore:line

Expand Down

0 comments on commit b1cbe2c

Please sign in to comment.