瀏覽代碼

Update README.md

Francisco 2 年之前
父節點
當前提交
3bb7ec72d0
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      README.md

+ 3 - 0
README.md

@@ -42,8 +42,11 @@ $ forge install OpenZeppelin/openzeppelin-contracts
 Add `@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/` in `remappings.txt.` 
 
 > [!WARNING]
+> <details>
+> <summary>Avoid installing the `master` branch.</summary>
 > When installing via git, it is a common error to use the `master` branch. This is a development branch that should be avoided in favor of tagged releases. The release process involves security measures that the `master` branch does not guarantee.
 > Note that `forge install` gets the latest version initially, but subsequent `forge update` commands will use the `master` branch.
+> </details>
 
 ### Usage