Skip to content

Commit

Permalink
Fixed variable derp
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Lord committed Jul 18, 2014
1 parent 990531c commit dd67aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lord/Laroute/Generators/TemplateGenerator.php
Expand Up @@ -61,7 +61,7 @@ public function compile($templatePath, Array $templateData, $filePath)
public function makeDirectory($directory)
{
if ( ! $this->filesystem->isDirectory($directory)) {
$this->filesystem->makeDirectory(dirname($filePath), 0777, true);
$this->filesystem->makeDirectory(dirname($directory), 0777, true);
}
}
}

0 comments on commit dd67aaf

Please sign in to comment.