| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 502563b commit 2f47b68
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -25,8 +25,7 @@ const assert = require('assert'); | |||
| 25 | 25 | const repl = require('repl'); | |
| 26 | 26 | const stream = require('stream'); | |
| 27 | 27 | const path = require('path'); | |
| 28 | - const buildType = process.config.target_defaults.default_configuration; | ||
| 29 | - let buildPath = path.join(__dirname, 'build', buildType, 'binding'); | ||
| 28 | + let buildPath = path.join(__dirname, 'build', common.buildType, 'binding'); | ||
| 30 | 29 | // On Windows, escape backslashes in the path before passing it to REPL. | |
| 31 | 30 | if (common.isWindows) | |
| 32 | 31 | buildPath = buildPath.replace(/\\/g, '/'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments