File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ private function checkComposerJson(): bool
122122
123123 return false ;
124124 }
125+ // Work with private packages but will not in the future
125126 // elseif ($repository['type'] === 'composer') {
126127 // if (! $this->checkComposerPackageAuth($repository['url'])) {
127128 // $this->error('Cannot authenticate with '.$repository['url'].'.');
@@ -170,7 +171,8 @@ private function addFilesToZip(ZipArchive $zip): void
170171 $ zip ->addFile (base_path ('.env ' ), '.env ' );
171172
172173 // Add auth.json file to support private packages
173- $ zip ->addFile (base_path ('auth.json ' ), 'auth.json ' );
174+ // WARNING: Only for testing purposes, don't uncomment this
175+ // $zip->addFile(base_path('auth.json'), 'auth.json');
174176
175177 // Custom binaries
176178 $ binaryPath = Str::replaceStart (base_path ('vendor ' ), '' , config ('nativephp.binary_path ' ));
You can’t perform that action at this time.
0 commit comments