aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/pre-js.c-pp.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/wasm/api/pre-js.c-pp.js')
-rw-r--r--ext/wasm/api/pre-js.c-pp.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/wasm/api/pre-js.c-pp.js b/ext/wasm/api/pre-js.c-pp.js
index 2e2fe66bc..5d8e58864 100644
--- a/ext/wasm/api/pre-js.c-pp.js
+++ b/ext/wasm/api/pre-js.c-pp.js
@@ -6,7 +6,9 @@
*/
// See notes in extern-post-js.js
-const sqlite3InitModuleState = self.sqlite3InitModuleState || Object.create(null);
+const sqlite3InitModuleState = self.sqlite3InitModuleState || Object.assign(Object.create(null),{
+ debugModule: ()=>{}
+});
delete self.sqlite3InitModuleState;
sqlite3InitModuleState.debugModule('self.location =',self.location);