Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update regex in sourcePathFromSourceCode to match contracts and …
…libraries Updated the regular expression in the sourcePathFromSourceCode function to account for both `contract` and `library` declarations. This resolves an issue where library definitions were not being matched, causing the function to return `null`. The new RegExp now looks for both `contract` and `library` keywords.
- Loading branch information