ci: don't exit(1) when pre-commiting partially staged files
This commit is contained in:
parent
8e26542b91
commit
52fdc0f7dd
@ -164,7 +164,7 @@ const staged = async () => {
|
|||||||
modifieds.forEach(modified =>
|
modifieds.forEach(modified =>
|
||||||
console.log('PARTIALLY STAGED FILE ', modified.filename)
|
console.log('PARTIALLY STAGED FILE ', modified.filename)
|
||||||
);
|
);
|
||||||
process.exit(1);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ const runLintAndGitAdd = async (staged, pkgs) => {
|
|||||||
modifieds.forEach(modified =>
|
modifieds.forEach(modified =>
|
||||||
console.log('PARTIALLY STAGED FILE ', modified.filename)
|
console.log('PARTIALLY STAGED FILE ', modified.filename)
|
||||||
);
|
);
|
||||||
process.exit(1);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user