Skip to content

Commit 6cb8b2f

Browse files
CGQAQaduh95
authored andcommitted
run make lint-js-fix
1 parent 26ff010 commit 6cb8b2f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

test/parallel/test-stream-readable-to-web.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
'use strict';
2-
require('../common');
3-
4-
// https://github.com/nodejs/node/pull/25147/files
5-
const hasCrypto = Boolean(process.versions.openssl);
6-
if (!hasCrypto) {
7-
process.exit(0);
8-
}
2+
const common = require('../common');
3+
if (!common.hasCrypto) { common.skip('missing crypto'); }
94

105
const { Readable } = require('stream');
116
const process = require('process');

0 commit comments

Comments
 (0)