@@ -56,7 +56,7 @@ |
||
| 56 | 56 | |
| 57 | 57 | |
| 58 | 58 | $config['dist-file'] = $file; |
| 59 | - $config['file'] = $this->fileHandler->preparePath($configs['build-folder'] . '/' . (isset($config['name'])? $config['name'] : $file)); |
|
| 59 | + $config['file'] = $this->fileHandler->preparePath($configs['build-folder'] . '/' . (isset($config['name']) ? $config['name'] : $file)); |
|
| 60 | 60 | $this->processFile($config['dist-file'], $config['file']); |
| 61 | 61 | |
| 62 | 62 | $config['dist-file'] = $config['file']; |
@@ -17,14 +17,14 @@ |
||
| 17 | 17 | throw new \InvalidArgumentException('The extra.build-parameters setting must be an array or a configuration object.'); |
| 18 | 18 | } |
| 19 | 19 | |
| 20 | - $fileHandler = new FileHandler($event->getArguments()); |
|
| 20 | + $fileHandler = new FileHandler($event->getArguments()); |
|
| 21 | 21 | |
| 22 | 22 | if (!isset($configs['build-folder'])) { |
| 23 | 23 | $configs['build-folder'] = 'build'; |
| 24 | 24 | } |
| 25 | 25 | $fileHandler->initDirectory($configs['build-folder']); |
| 26 | 26 | |
| 27 | - $fileProcessor = new FileProcessor($event->getIO(), $fileHandler); |
|
| 27 | + $fileProcessor = new FileProcessor($event->getIO(), $fileHandler); |
|
| 28 | 28 | $fileProcessor->process($configs); |
| 29 | 29 | |
| 30 | 30 | $incenteevProcessor = new IncenteevParametersProcessor($fileHandler); |