Skip to content

docs: remove deprecated --no-commit flag from installation instructions#55

Open
AryanPandeyDev wants to merge 1 commit intosmartcontractkit:mainfrom
AryanPandeyDev:patch-1
Open

docs: remove deprecated --no-commit flag from installation instructions#55
AryanPandeyDev wants to merge 1 commit intosmartcontractkit:mainfrom
AryanPandeyDev:patch-1

Conversation

@AryanPandeyDev
Copy link

This PR fixes the installation instructions in the README by removing the deprecated --no-commit flag that causes errors in current Foundry versions.

What's the issue?
The current documentation instructs users to run:

forge install smartcontractkit/chainlink-brownie-contracts --no-commit

This results in an error:

error: unexpected argument '--no-commit' found

What changed?

  • Removed --no-commit flag from the installation command
  • Added a note explaining the flag removal
  • Simplified instructions for current Foundry users

Why?
Recent Foundry versions removed the --no-commit flag because the tool no longer automatically commits installations. The flag is now obsolete and causes the installation to fail.

Impact:
Users can now successfully install the package by following the updated documentation without encountering errors.

Updated the README.md to reflect changes in recent Foundry versions where
the --no-commit flag has been removed. The flag is no longer needed as
Foundry does not automatically commit installations anymore.

Changes:
- Removed --no-commit flag from forge install command
- Added note explaining the flag removal and behavior change
- Simplified installation instructions for better clarity
- Maintained all other documentation sections unchanged

This update ensures users don't encounter the "unexpected argument" error
when following the installation guide with current Foundry versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant