mirror of
https://github.com/nodejs/node.git
synced 2026-12-03 18:03:02 -05:00
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>
This commit is contained in:
1 parent
618fcbd125
commit
dcc5e51e1c
52 files changed
+194
-66
No files matched your search
@@ -1,9 +1,9 @@
|
||||
// Flags: --no-warnings
|
||||
'use strict';
|
||||
|
||||
const common = require('../common');
|
||||
const vm = require('vm');
|
||||
const assert = require('assert');
|
||||
const common = require('../common');
|
||||
|
||||
if (new Error().stack.includes('node_modules'))
|
||||
common.skip('test does not work when inside `node_modules` directory');
|
||||
|
||||
Reference in new issue
Block a user