From 18258a1a40151b7403c7b77a3094f72a253afaf8 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Mon, 28 Oct 2024 13:30:35 -0400 Subject: [PATCH] fix[tool]: fix output formats for .vyz files run the format name through the translate map. for instance, `-f annotated_ast` was not working for `.vyz` files. --- vyper/cli/vyper_compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyper/cli/vyper_compile.py b/vyper/cli/vyper_compile.py index 5999aed178..32c0d2e4e1 100755 --- a/vyper/cli/vyper_compile.py +++ b/vyper/cli/vyper_compile.py @@ -354,7 +354,7 @@ def compile_files( # we allow this instead of requiring a different mode (like # `--zip`) so that verifier pipelines do not need a different # workflow for archive files and single-file contracts. - output = compile_from_zip(file_name, output_formats, settings, no_bytecode_metadata) + output = compile_from_zip(file_name, final_formats, settings, no_bytecode_metadata) ret[file_path] = output continue except NotZipInput: