| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 03b8258 commit 5cfab14
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,7 +30,6 @@ const { exec, execSync, spawn, spawnSync } = require('child_process'); | |||
| 30 | 30 | const stream = require('stream'); | |
| 31 | 31 | const util = require('util'); | |
| 32 | 32 | const Timer = process.binding('timer_wrap').Timer; | |
| 33 | - const { hasTracing } = process.binding('config'); | ||
| 34 | 33 | const { fixturesDir } = require('./fixtures'); | |
| 35 | 34 | const tmpdir = require('./tmpdir'); | |
| 36 | 35 | ||
@@ -227,12 +226,6 @@ Object.defineProperty(exports, 'hasCrypto', { | |||
| 227 | 226 | } | |
| 228 | 227 | }); | |
| 229 | 228 | ||
| 230 | - Object.defineProperty(exports, 'hasTracing', { | ||
| 231 | - get: function() { | ||
| 232 | - return Boolean(hasTracing); | ||
| 233 | - } | ||
| 234 | - }); | ||
| 235 | - | ||
| 236 | 229 | Object.defineProperty(exports, 'hasFipsCrypto', { | |
| 237 | 230 | get: function() { | |
| 238 | 231 | return exports.hasCrypto && require('crypto').fips; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | ||
| 4 | 4 | const common = require('../common'); | |
| 5 | 5 | ||
| 6 | - if (!common.hasTracing) | ||
| 6 | + if (!process.binding('config').hasTracing) | ||
| 7 | 7 | common.skip('missing trace events'); | |
| 8 | 8 | if (!common.isMainThread) | |
| 9 | 9 | common.skip('process.chdir is not available in Workers'); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments