Skip to content

Commit

Permalink
Merge pull request #2 from Loule95450/main
Browse files Browse the repository at this point in the history
refactor: Update git command in getDiff function
  • Loading branch information
clianor authored Jun 26, 2024
2 parents 873c216 + 93d7206 commit ec7f092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function checkGitRepository() {

export function getDiff(maxDiffLength: number) {
const diff = execSync(
"git diff --cached . ':(exclude)package-lock.json' ':(exclude)yarn.lock' ':(exclude)pnpm-lock.yaml'"
"git diff --cached . ':(exclude)package-lock.json' ':(exclude)yarn.lock' ':(exclude)pnpm-lock.yaml' ':(exclude)bun.lockb'"
).toString();

if (!diff) {
Expand Down

0 comments on commit ec7f092

Please sign in to comment.