| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 2fa7d33 commit 31fe3b2
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,7 @@ | |||
| 20 | 20 | // USE OR OTHER DEALINGS IN THE SOFTWARE. | |
| 21 | 21 | ||
| 22 | 22 | 'use strict'; | |
| 23 | - require('../common'); | ||
| 23 | + const common = require('../common'); | ||
| 24 | 24 | ||
| 25 | 25 | // No warnings should happen! | |
| 26 | 26 | const trace = console.trace; | |
@@ -59,3 +59,5 @@ server.listen(0, function() { | |||
| 59 | 59 | client.end(); | |
| 60 | 60 | client.pipe(process.stdout); | |
| 61 | 61 | }); | |
| 62 | + | ||
| 63 | + process.on('warning', common.mustNotCall()); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments