Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: match against double/single quote paths #1323

Merged
merged 1 commit into from
Nov 7, 2021

Conversation

skellet0r
Copy link
Collaborator

@skellet0r skellet0r commented Oct 31, 2021

What I did

Fix regex to support paths with your single quotes along with double quotes when building verification info.

Fixes: #1322

How I did it

Add a capture group for the quote used, and a backreference to the group for the closing quotes.

How to verify it

Tests should still pass, (updated one to include single quotes in the import path).

@iamdefinitelyahuman iamdefinitelyahuman merged commit e0fdd3c into eth-brownie:master Nov 7, 2021
@skellet0r skellet0r deleted the fix/regex-quotes branch November 12, 2021 23:58
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.

new solidity flattener does not load/traverse dependencies
2 participants