Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2022-04-17 17:37:21 +0300
committerMichaƫl Zasso <targos@protonmail.com>2022-04-28 07:56:11 +0300
commit459546b4f0f8ece48c51394b75d6f6036d4e2c4d (patch)
tree03090d90cf93ca7483d8336a2944d3e6ceab9840 /benchmark
parent4694f5bb96c5a2cc4332d15c4250dd7b8ce5cba2 (diff)
benchmark: fix misc/startup failure
PR-URL: https://github.com/nodejs/node/pull/42746 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/fixtures/require-cachable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/fixtures/require-cachable.js b/benchmark/fixtures/require-cachable.js
index 4afda3cda47..85e3a81f4e9 100644
--- a/benchmark/fixtures/require-cachable.js
+++ b/benchmark/fixtures/require-cachable.js
@@ -6,5 +6,5 @@ const {
} = internalBinding('native_module');
for (const key of canBeRequired) {
- require(key);
+ require(`node:${key}`);
}