Skip to content

Commit

Permalink
chore: bump to version 5.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Niktux committed Nov 9, 2016
1 parent 577055b commit 88635b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Installation
------------
Download latest phar:
```
wget https://github.com/Niktux/karma/releases/download/5.5.0/karma.phar
wget https://github.com/Niktux/karma/releases/download/5.5.1/karma.phar
```

Or use composer (but you could experiment illegitimate dependencoes conflict with your project) :
Or use composer (but you could experiment illegitimate dependencies conflict with your project) :
```json
{
"require": {
Expand Down
12 changes: 6 additions & 6 deletions src/Karma/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
class Application extends \Pimple
{
const
VERSION = '5.5.0',
VERSION = '5.5.1',
DEFAULT_DISTFILE_SUFFIX = '-dist',
DEFAULT_CONF_DIRECTORY = 'env',
DEFAULT_MASTER_FILE = 'master.conf',
Expand Down Expand Up @@ -108,16 +108,16 @@ private function initializeProfile()
private function initializeSourceFileSystem()
{
$this['sources.fileSystem.adapter'] = function($c) {

$paths = $c['sources.path'];

if(! is_array($paths))
{
$paths = array($paths);
}

$adapter = new MultipleAdapter();

foreach($paths as $path)
{
$localAdapter = new Local($path);
Expand All @@ -128,7 +128,7 @@ private function initializeSourceFileSystem()
$path = realpath(dirname($path));
$localAdapter = new SingleLocalFile($filename, new Local($path));
}

$adapter->mount($path, $localAdapter);
}

Expand Down

0 comments on commit 88635b4

Please sign in to comment.