| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d622b67 commit 53f2848
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -360,8 +360,7 @@ process.on('exit', function() { | |||
| 360 | 360 | if (!exports.globalCheck) return; | |
| 361 | 361 | var leaked = leakedGlobals(); | |
| 362 | 362 | if (leaked.length > 0) { | |
| 363 | - console.error('Unknown globals: %s', leaked); | ||
| 364 | - assert.ok(false, 'Unknown global found'); | ||
| 363 | + exports.fail(`Unexpected global(s) found: ${leaked.join(', ')}`); | ||
| 365 | 364 | } | |
| 366 | 365 | }); | |
| 367 | 366 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments