diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-08-10 20:19:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 20:19:20 +0200 |
commit | 69387f0b0c4ac3be4ce88f9139d141cbc7da277b (patch) | |
tree | 631300553e6bbb171c27deeec18f2662b35ed5dc /test_napi/common.js | |
parent | 6b1a9761812c2f373e52684ae4be8fb939e589b7 (diff) |
fix(node): don't print warning on process.dlopen.flags (#20124)
Closes https://github.com/denoland/deno/issues/20075
Diffstat (limited to 'test_napi/common.js')
-rw-r--r-- | test_napi/common.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test_napi/common.js b/test_napi/common.js index 5ad0e9cf3..ede045666 100644 --- a/test_napi/common.js +++ b/test_napi/common.js @@ -21,6 +21,8 @@ export function loadTestLibrary() { // Internal, used in ext/node const module = {}; - process.dlopen(module, specifier); + // Pass some flag, it should be ignored, but make sure it doesn't print + // warnings. + process.dlopen(module, specifier, 0); return module.exports; } |