瀏覽代碼

disabling packagist.org did not work

While testing i found that 

"packagist.org": false 

didn't work to disable packagist.

I have read following issue 

https://github.com/composer/composer/issues/3713

afterwards i've testet 

"composer config repositories.packagist false"

did the review on the composer.json and found that 

"packagist": false 

actually disabled packagist.
debugteam 8 年之前
父節點
當前提交
2333a0120e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/05-repositories.md

+ 1 - 1
doc/05-repositories.md

@@ -662,7 +662,7 @@ You can disable the default Packagist repository by adding this to your
 {
     "repositories": [
         {
-            "packagist.org": false
+            "packagist": false
         }
     ]
 }