-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cli foundry/hardhat excludes (#4120)
* chore: update viem * fix: fix issue where the Foundry & Hardhat exclude patterns were ignored * chore: add changeset * test(cli): exclude --------- Co-authored-by: jxom <jakemoxey@gmail.com> Co-authored-by: Alexandre <5808474+allezxandre@users.noreply.github.com> Co-authored-by: Alexandre Jouandin <alexandre@jouand.in>
- Loading branch information
1 parent
b4033a0
commit 59407bf
Showing
7 changed files
with
55 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@wagmi/cli": patch | ||
--- | ||
|
||
Fixed an issue where the Foundry and Hardhat plugins' `exclude` option was ignored. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.13; | ||
|
||
contract Foo { | ||
string public bar; | ||
|
||
function setFoo(string memory baz) public { | ||
bar = baz; | ||
} | ||
} | ||
|
10 changes: 10 additions & 0 deletions
10
packages/cli/src/plugins/__fixtures__/hardhat/contracts/Foo.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// SPDX-License-Identifier: UNLICENSED | ||
pragma solidity ^0.8.13; | ||
|
||
contract Foo { | ||
string public bar; | ||
|
||
function setFoo(string memory baz) public { | ||
bar = baz; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters