We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 940c5be commit 07cd188Copy full SHA for 07cd188
build/lib/sqlite.js
@@ -4,7 +4,7 @@ import path from "node:path";
4
import { readConfig } from "#core/config";
5
import ExternalResourceBuilder from "#core/external-resource-builder";
6
import fetch from "#core/fetch";
7
-import glob from "#core/glob";
+import { globSync } from "#core/glob";
8
import Zip from "#core/zip";
9
10
const USE_LATEST_SQLITE = true,
@@ -69,7 +69,7 @@ export default class ExternalResource extends ExternalResourceBuilder {
69
} );
70
if ( res.status ) return result( 500 );
71
72
- const files = glob( "build/Release/better_sqlite3.node", { "cwd": this.#cwd } );
+ const files = globSync( "build/Release/better_sqlite3.node", { "cwd": this.#cwd } );
73
74
if ( !files.length ) return result( 500 );
75
0 commit comments