feat: exclude all *.lock files (#108)
Co-authored-by: hiroki osame <hiroki.osame@gmail.com>
This commit is contained in:
@@ -10,8 +10,10 @@ export const assertGitRepo = async () => {
|
||||
|
||||
const excludeFromDiff = [
|
||||
'package-lock.json',
|
||||
'yarn.lock',
|
||||
'pnpm-lock.yaml',
|
||||
|
||||
// yarn.lock, Cargo.lock, Gemfile.lock, Pipfile.lock, etc.
|
||||
'*.lock',
|
||||
].map(file => `:(exclude)${file}`);
|
||||
|
||||
export const getStagedDiff = async () => {
|
||||
|
||||
Reference in New Issue
Block a user