File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,10 @@ private function checkComposerJson(): bool
116
116
$ composerJson = json_decode (file_get_contents (base_path ('composer.json ' )), true );
117
117
118
118
// Fail if there is symlinked packages
119
- foreach ($ composerJson ['repositories ' ] ?? [] as $ key => $ repository ) {
119
+ foreach ($ composerJson ['repositories ' ] ?? [] as $ repository ) {
120
120
121
- // Unless Eser is working on a PR ^^
122
- if ($ repository ['type ' ] === 'path ' && ! in_array ( $ key , [ ' nativephp-laravel ' , ' nativephp-electron ' ]) ) {
121
+ $ symlinked = $ repository [ ' options ' ][ ' symlink ' ] ?? true ;
122
+ if ($ repository ['type ' ] === 'path ' && $ symlinked ) {
123
123
$ this ->error ('Symlinked packages are not supported. Please remove them from your composer.json. ' );
124
124
125
125
return false ;
You can’t perform that action at this time.
0 commit comments