| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4db289c commit 146c488
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,5 +1,5 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | - require('../common'); | ||
| 2 | + const common = require('../common'); | ||
| 3 | 3 | const fixtures = require('../common/fixtures'); | |
| 4 | 4 | ||
| 5 | 5 | // Check ca option can contain concatenated certs by prepending an unrelated | |
@@ -18,7 +18,7 @@ connect({ | |||
| 18 | 18 | cert: keys.agent6.cert, | |
| 19 | 19 | key: keys.agent6.key, | |
| 20 | 20 | }, | |
| 21 | - }, function(err, pair, cleanup) { | ||
| 21 | + }, common.mustCall((err, pair, cleanup) => { | ||
| 22 | 22 | assert.ifError(err); | |
| 23 | 23 | return cleanup(); | |
| 24 | - }); | ||
| 24 | + })); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments