Skip to content

Commit 3314f63

Browse files
committed
Remove checking ht.sqlite file
1 parent d161db0 commit 3314f63

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/site-server.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,12 @@ export class SiteServer {
208208
);
209209
const wpConfigPath = nodePath.join( this.details.path, 'wp-config.php' );
210210
const databaseIndexPath = nodePath.join( this.details.path, 'wp-content', 'db.php' );
211-
const databasePath = nodePath.join( this.details.path, 'wp-content', 'database', '.ht.sqlite' );
212211

213212
const results = await Promise.all( [
214213
fsExtra.pathExists( sqlitePath ),
215214
fsExtra.pathExists( wpConfigPath ),
216215
fsExtra.pathExists( sqlitePath ),
217216
fsExtra.pathExists( databaseIndexPath ),
218-
fsExtra.pathExists( databasePath ),
219217
] );
220218

221219
return results.every( Boolean );

0 commit comments

Comments
 (0)