diff --git a/packages/dev-utils/src/utils/git.ts b/packages/dev-utils/src/utils/git.ts index 0d2c97ad31..27b1f0f1e6 100644 --- a/packages/dev-utils/src/utils/git.ts +++ b/packages/dev-utils/src/utils/git.ts @@ -15,7 +15,8 @@ export function git(command: string): string { } export function uncommittedFiles(): boolean { - return !!git("status --porcelain"); + const status = git("status --porcelain"); + return !!status && status !== "?? tempStyles/"; } export function ammendCommit(): void {