Skip to content

Commit 11a404b

Browse files
authored
Update examples in README to remove init options (#140)
1 parent 37a5d32 commit 11a404b

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const start = (sqlite3) => {
132132
const initializeSQLite = async () => {
133133
try {
134134
log('Loading and initializing SQLite3 module...');
135-
const sqlite3 = await sqlite3InitModule({ print: log, printErr: error });
135+
const sqlite3 = await sqlite3InitModule();
136136
log('Done initializing. Running demo...');
137137
start(sqlite3);
138138
} catch (err) {
@@ -163,10 +163,7 @@ const start = (sqlite3) => {
163163
const initializeSQLite = async () => {
164164
try {
165165
log('Loading and initializing SQLite3 module...');
166-
const sqlite3 = await sqlite3InitModule({
167-
print: log,
168-
printErr: error,
169-
});
166+
const sqlite3 = await sqlite3InitModule();
170167
log('Done initializing. Running demo...');
171168
start(sqlite3);
172169
} catch (err) {

0 commit comments

Comments
 (0)