@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | |
60 | 60 | $config['dist-file'] = $config['file']; |
61 | - $config['file'] = $configs['build-folder'] . '/' . (isset($config['name'])? $config['name'] : $file); |
|
61 | + $config['file'] = $configs['build-folder'] . '/' . (isset($config['name']) ? $config['name'] : $file); |
|
62 | 62 | $this->processFile($config['dist-file'], $config['file']); |
63 | 63 | |
64 | 64 | $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->getIO()); |
|
20 | + $fileHandler = new FileHandler($event->getIO()); |
|
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, $event); |
29 | 29 | |
30 | 30 | $incenteevProcessor = new IncenteevParametersProcessor($event->getIO(), $fileHandler); |