@@ -125,12 +125,14 @@ |
||
| 125 | 125 | if ( |
| 126 | 126 | !file_exists($this->getHomeDir() . DIRECTORY_SEPARATOR . 'parameters.yml') |
| 127 | 127 | AND !file_exists(getcwd() . DIRECTORY_SEPARATOR . '.chapiconfig') |
| 128 | - ) // one file have to exist |
|
| 128 | + ) { |
|
| 129 | + // one file have to exist |
|
| 129 | 130 | { |
| 130 | 131 | $this->oOutput->writeln(sprintf( |
| 131 | 132 | '<error>%s</error>', |
| 132 | 133 | 'No parameter file found. Please run "configure" command for initial setup or add a local `.chapiconfig` to your working directory.' |
| 133 | 134 | )); |
| 135 | + } |
|
| 134 | 136 | return false; |
| 135 | 137 | } |
| 136 | 138 | |