Skip to content

Commit 71c6ec7

Browse files
committed
also allow vyper interfaces
1 parent 877ab1c commit 71c6ec7

File tree

1 file changed

+1
-1
lines changed
  • crates/compilers/src/project_util

1 file changed

+1
-1
lines changed

crates/compilers/src/project_util/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ pub(crate) fn create_contract_file(path: &Path, content: impl AsRef<str>) -> Res
9898

9999
fn contract_file_name(name: &str) -> String {
100100
let name = name.trim();
101-
if name.ends_with(".sol") || name.ends_with(".vy") {
101+
if name.ends_with(".sol") || name.ends_with(".vy") || name.ends_with(".vyi") {
102102
name.to_string()
103103
} else {
104104
format!("{name}.sol")

0 commit comments

Comments
 (0)