From f246f6300a44019a6c306002f1f8c19a6f6bd98c Mon Sep 17 00:00:00 2001 From: Craig Davis Date: Sat, 10 Jan 2015 12:31:30 -0700 Subject: [PATCH] Update README and pakefile spacing --- README.md | 2 +- pakefile | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 900ba78..ddc1e64 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ build system - I highly recommend Pake. It's got enough tools to handle SSH deployments and other sophisticated build steps. In this project, it's used to setup the dev web server and handle some code sniffs. With the [Pake CLI][pake-cli] tool you don't have to install it globally. I think -it's a compelling an overlooked tool. [Go see it][pake]! +it's a compelling and overlooked tool. [Go see it][pake]! ## Contributing diff --git a/pakefile b/pakefile index b7f8c8f..0566fdf 100644 --- a/pakefile +++ b/pakefile @@ -40,11 +40,13 @@ function run_contributors() $contributors = explode("\n", shell_exec("git shortlog -s -n")); $table = "| Author | Commits\n| --- | ---\n"; foreach ($contributors as $contributor) { - if (!trim($contributor)) { continue; } - $contributor = explode("\t", $contributor); - $table .= sprintf( - "| %s | %s |\n", trim($contributor[1]), trim($contributor[0]) - ); + if (!trim($contributor)) { continue; } + $contributor = explode("\t", $contributor); + $table .= sprintf( + "| %s | %s |\n", + trim($contributor[1]), + trim($contributor[0]) + ); } $output = preg_replace( '/('.preg_quote($startPoint).')(.*)('.preg_quote($endPoint).')/si',