Skip to content

Commit 7d9e358

Browse files
committed
fixup! lib,src,test: fix tests without SQLite
1 parent 490651f commit 7d9e358

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/process/pre_execution.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const {
2121
refreshOptions,
2222
getEmbedderOptions,
2323
} = require('internal/options');
24+
const config = internalBinding('config');
2425
const {
2526
exposeLazyInterfaces,
2627
defineReplaceableLazyAttribute,
@@ -398,7 +399,7 @@ function setupQuic() {
398399

399400
function setupWebStorage() {
400401
if (getEmbedderOptions().noBrowserGlobals ||
401-
!getEmbedderOptions().hasSQLite ||
402+
!config.hasSQLite ||
402403
!getOptionValue('--experimental-webstorage')) {
403404
return;
404405
}

0 commit comments

Comments
 (0)