Skip to content

Commit 0601283

Browse files
authored
Restore accidentally removed return statement. (#2950)
1 parent 6cfb268 commit 0601283

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/gitHooks/prettier.js

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ async function doPrettierCommit(changedFiles) {
6868
const targetFiles = changedFiles.filter(line => line.match(/(js|ts)$/));
6969
if (targetFiles.length === 0) {
7070
console.log('No files changed.');
71+
return;
7172
}
7273

7374
const stylingSpinner = ora(

0 commit comments

Comments
 (0)