Skip to content

Commit

Permalink
fix(dev-env): SQL sync for single sites
Browse files Browse the repository at this point in the history
  • Loading branch information
sjinks committed Nov 18, 2024
1 parent 84ae76d commit 3eafcd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/dev-env-sync-sql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export class DevEnvSyncSQLCommand {

public async fixBlogsTable(): Promise< void > {
const networkSites = this.env.wpSitesSDS?.nodes;
if ( ! networkSites ) {
if ( ! networkSites || networkSites.length < 2 ) {
return;
}

Expand Down

0 comments on commit 3eafcd0

Please sign in to comment.