1
0
Fork 0

make use of variable

pull/6320/head
Graham Daniels 2017-04-03 18:12:29 -04:00
parent 86c887b5e4
commit a9c0134378
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ EOT
$io = $this->getIO(); $io = $this->getIO();
$newlyCreated = !file_exists($file); $newlyCreated = !file_exists($file);
if (!file_exists($file) && !file_put_contents($file, "{\n}\n")) { if ($newlyCreated && !file_put_contents($file, "{\n}\n")) {
$io->writeError('<error>'.$file.' could not be created.</error>'); $io->writeError('<error>'.$file.' could not be created.</error>');
return 1; return 1;