mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
test: enforce strict mode for test-domain-crypto
The last change to this test landed before a nit about strict mode was addressed, so this change addresses that. PR-URL: https://github.com/nodejs/node/pull/6047 Refs: https://github.com/nodejs/node/pull/6017 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
This commit is contained in:
1 parent
0b376cb3f9
commit
3a67a05ed4
1 file changed
+3
-1
@@ -1,4 +1,6 @@
|
||||
/* eslint-disable strict, required-modules */
|
||||
/* eslint-disable required-modules */
|
||||
'use strict';
|
||||
|
||||
try {
|
||||
var crypto = require('crypto');
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user