Skip to content

Commit 35afed1

Browse files
Merge add84a1 into 1f95d84
2 parents 1f95d84 + add84a1 commit 35afed1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/modules/sync/lib/tree-utils.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ export const shouldLimitDepth = ( relativePath: string ): boolean => {
2727
return true;
2828
}
2929

30+
// Match mu-plugins/mu-plugin or mu-plugins/mu-plugin/
31+
if ( normalizedPath.match( /^mu-plugins\/[^/]+\/?$/ ) ) {
32+
return true;
33+
}
34+
3035
return false;
3136
};
3237

0 commit comments

Comments
 (0)