| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 46d0369 commit 7baa338
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,15 +5,15 @@ var rawApi; | |||
| 5 | 5 | // Attempt to load the production release first, if it fails fall back to the | |
| 6 | 6 | // debug release. | |
| 7 | 7 | try { | |
| 8 | - rawApi = require("../build/Release/nodegit"); | ||
| 8 | + rawApi = require("../build/Release/nodegit.node"); | ||
| 9 | 9 | } | |
| 10 | 10 | catch (ex) { | |
| 11 | 11 | /* istanbul ignore next */ | |
| 12 | 12 | if (ex.code !== "MODULE_NOT_FOUND") { | |
| 13 | 13 | throw ex; | |
| 14 | 14 | } | |
| 15 | 15 | ||
| 16 | - rawApi = require("../build/Debug/nodegit"); | ||
| 16 | + rawApi = require("../build/Debug/nodegit.node"); | ||
| 17 | 17 | } | |
| 18 | 18 | ||
| 19 | 19 | // Native methods do not return an identifiable function, so we | |
| Back | FazBrowse Home | New Git URL |
0 commit comments