Skip to content

Commit 9e54f4a

Browse files
committed
rename isSQLitePluginActivated to hasSQLitePlugin
1 parent 6156172 commit 9e54f4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ipc-handlers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,5 +954,5 @@ export async function isImportExportSupported( _event: IpcMainInvokeEvent, siteI
954954
if ( ! site ) {
955955
throw new Error( 'Site not found.' );
956956
}
957-
return site.isSQLitePluginActivated();
957+
return site.hasSQLitePlugin();
958958
}

src/site-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export class SiteServer {
199199
}
200200
}
201201

202-
async isSQLitePluginActivated(): Promise< boolean > {
202+
async hasSQLitePlugin(): Promise< boolean > {
203203
const wpContentPath = nodePath.join( this.details.path, 'wp-content' );
204204

205205
const sqliteIntegrationPaths = {

0 commit comments

Comments
 (0)