Here: https://github.com/mpchadwick/jekyll-pre-commit/blob/448f09f57ab65e4386e1db63bf3de1cf39e7ccaf/lib/jekyll-pre-commit/runner.rb#L36 Should add a test for this behavior as well.