Skip to content
Permalink
Browse files

Use emptyFile variable for File object construction

  • Loading branch information...
bcrowe committed Sep 7, 2014
1 parent 509d0a0 commit f845c104e8bdc62356fb065905a289940e170c9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Shell/Task/SimpleBakeTask.php
@@ -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);

0 comments on commit f845c10

Please sign in to comment.
You can’t perform that action at this time.