Skip to content

Commit

Permalink
build(release): updated uncommitedFiles to ignore tempStyles dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Mar 23, 2021
1 parent 70e60e1 commit 89e2acf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dev-utils/src/utils/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 89e2acf

Please sign in to comment.