Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
melihovv authored Aug 24, 2018
1 parent 2bb1bfa commit 22bea97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Commands/Traits/ChangesComposerJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ protected function registerPackage($vendor, $package, $relPackagePath)
$this->info('Register package in composer.json.');

$composerJson = $this->loadComposerJson();
//array_set($composerJson, 'repositories', []);
// if exists -> append

if (! isset($composerJson['repositories'])) {
array_set($composerJson, 'repositories', []);
}
Expand Down

0 comments on commit 22bea97

Please sign in to comment.