| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0a2fb0d commit af2bea7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - require('../common'); | ||
| 3 | - const assert = require('assert'); | ||
| 2 | + const common = require('../common'); | ||
| 4 | 3 | ||
| 5 | 4 | process.on('beforeExit', function() { | |
| 6 | - assert(false, 'exit should not allow this to occur'); | ||
| 5 | + common.fail('exit should not allow this to occur'); | ||
| 7 | 6 | }); | |
| 8 | 7 | ||
| 9 | 8 | process.exit(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments