```if (commits.length === 0) { return; }``` - that way you don't have to indent all the lines in the function which makes it more readable