| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7f664e4 commit c464ede
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -118,8 +118,9 @@ const enoughTestCpu = Array.isArray(cpus) && | |||
| 118 | 118 | ||
| 119 | 119 | const rootDir = isWindows ? 'c:\\' : '/'; | |
| 120 | 120 | ||
| 121 | - const buildType = process.config.target_defaults.default_configuration; | ||
| 122 | - | ||
| 121 | + const buildType = process.config.target_defaults ? | ||
| 122 | + process.config.target_defaults.default_configuration : | ||
| 123 | + 'Release'; | ||
| 123 | 124 | ||
| 124 | 125 | // If env var is set then enable async_hook hooks for all tests. | |
| 125 | 126 | if (process.env.NODE_TEST_WITH_ASYNC_HOOKS) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments