summaryrefslogtreecommitdiff
path: root/test/common/index.js
diff options
context:
space:
mode:
authorZYSzys <zyszys98@gmail.com>2019-05-12 15:11:13 +0800
committerZYSzys <zyszys98@gmail.com>2019-05-13 19:39:34 +0800
commitdcc5e51e1cb4e102effd7fc515681446b07e428e (patch)
tree63f566515f8150bbe96e63426293bc802c84eb38 /test/common/index.js
parent618fcbd125c386b7bfb37cbc4dce12a694a4ee22 (diff)
downloadandroid-node-v8-dcc5e51e1cb4e102effd7fc515681446b07e428e.tar.gz
android-node-v8-dcc5e51e1cb4e102effd7fc515681446b07e428e.tar.bz2
android-node-v8-dcc5e51e1cb4e102effd7fc515681446b07e428e.zip
tools: force common be required before any other modules
PR-URL: https://github.com/nodejs/node/pull/27650 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'test/common/index.js')
-rw-r--r--test/common/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/common/index.js b/test/common/index.js
index 02fe9039dd..3235362166 100644
--- a/test/common/index.js
+++ b/test/common/index.js
@@ -19,7 +19,8 @@
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
-/* eslint-disable node-core/required-modules, node-core/crypto-check */
+/* eslint-disable node-core/require-common-first, node-core/required-modules */
+/* eslint-disable node-core/crypto-check */
'use strict';
const process = global.process; // Some tests tamper with the process global.
const path = require('path');