Skip to content

Commit

Permalink
Use emptyFile variable for File object construction
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Sep 23, 2014
1 parent 509d0a0 commit f845c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shell/Task/SimpleBakeTask.php
Expand Up @@ -99,7 +99,7 @@ public function bake($name) {
$filename = $this->getPath() . $this->fileName($name);
$this->createFile($filename, $contents);
$emptyFile = $this->getPath() . 'empty';
$File = new File($this->getPath() . 'empty');
$File = new File($emptyFile);
if ($File->exists()) {
$File->delete();
$this->out(sprintf('<success>Deleted</success> `%s`', $emptyFile), 1, Shell::QUIET);
Expand Down

0 comments on commit f845c10

Please sign in to comment.