Skip to content

Commit 003e066

Browse files
committed
Flatten program base code style
1 parent 87b1b40 commit 003e066

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

bin/phug-dev

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ use Phug\DevTool\Application;
66
//Check for autoload file
77
$cwd = getcwd();
88
$path = "$cwd/vendor/autoload.php";
9-
if (file_exists($path)) {
10-
11-
require $path;
12-
} else {
139

10+
if (!file_exists($path)) {
1411
echo "Composer's autoload.php not found in $cwd.";
1512
exit(1);
1613
}
1714

15+
require $path;
16+
1817
(new Application)->run();

0 commit comments

Comments
 (0)