solidity: various small resolc fixes (#189)

This commit is contained in:
xermicus
2025-02-03 16:16:54 +01:00
committed by GitHub
parent bfda465c32
commit 8ed689e7ec
9 changed files with 84 additions and 76 deletions
+2 -2
View File
@@ -64,7 +64,7 @@ impl Contract {
file_path.push(file_name);
if file_path.exists() && !overwrite {
eprintln!(
anyhow::bail!(
"Refusing to overwrite an existing file {file_path:?} (use --overwrite to force)."
);
} else {
@@ -87,7 +87,7 @@ impl Contract {
file_path.push(file_name);
if file_path.exists() && !overwrite {
eprintln!(
anyhow::bail!(
"Refusing to overwrite an existing file {file_path:?} (use --overwrite to force)."
);
} else {