We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cfb268 commit 0601283Copy full SHA for 0601283
tools/gitHooks/prettier.js
@@ -68,6 +68,7 @@ async function doPrettierCommit(changedFiles) {
68
const targetFiles = changedFiles.filter(line => line.match(/(js|ts)$/));
69
if (targetFiles.length === 0) {
70
console.log('No files changed.');
71
+ return;
72
}
73
74
const stylingSpinner = ora(
0 commit comments