diff --git a/addons/Spock/Git.php b/addons/Spock/Git.php index f7ac2b4..88e0bea 100644 --- a/addons/Spock/Git.php +++ b/addons/Spock/Git.php @@ -36,7 +36,7 @@ public function commands() $commands[] = "git add {$path}"; } - $commands[] = vsprintf("git commit -m '%s%s'", [ + $commands[] = vsprintf('git commit -m "%s%s"', [ $this->label(), $this->user ? ' by ' . $this->user->username() : '' ]);