From 096ae08e4ad61592619b4bf66660a6213d2a501c Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Sun, 26 Jan 2014 23:04:30 +0000 Subject: [PATCH] [ci-skip] Fixed a bug with ``zep`` where using from ``vendor/bin`` was not working. --- bin/zep | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/zep b/bin/zep index ca98c0b..059a8b6 100755 --- a/bin/zep +++ b/bin/zep @@ -2,7 +2,7 @@ get("option") === "new") { $title = ucfirst($zep->prompt("Title:")); $desc = $zep->prompt("Description: (Optional)"); $date = (!$zep->prompt("Date: (Leave empty for today's date)")) - ? $date = date('d m Y') + ? $date = date("d m Y") : $date; // DRY, innit? @@ -147,6 +147,6 @@ function check_current_directory() return; } else { - throw new Exception("No content or plugins directory found, please run zep init"); + throw new \Exception("No content or plugins directory found, please run zep init"); } }