@@ -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']; |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | |
| 38 | 38 | public function getArgumentValue($name) { |
| 39 | 39 | return array_reduce($this->arguments, function($ret, $item) use ($name) { |
| 40 | - if (substr(strtolower($item), 0, strlen($name)+2) == '--' . $name) { |
|
| 40 | + if (substr(strtolower($item), 0, strlen($name) + 2) == '--' . $name) { |
|
| 41 | 41 | $val = explode('=', $item); |
| 42 | 42 | return trim($val[1]); |
| 43 | 43 | } |