From 11a000f7d496ce89817fb8de47d272bbbccd8f5e Mon Sep 17 00:00:00 2001 From: Yu Lun Hsu Date: Thu, 27 Apr 2023 00:45:31 +0800 Subject: [PATCH] Update solc.py add strip() to prevent \r in windows --- solcix/compile/solc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solcix/compile/solc.py b/solcix/compile/solc.py index a7d3b6d..ff44764 100644 --- a/solcix/compile/solc.py +++ b/solcix/compile/solc.py @@ -479,7 +479,7 @@ def _compile_combined_json( solc_path = get_executable(solc_version) if output_values is None: - combined_json = _get_combined_json_outputs(solc_path) + combined_json = _get_combined_json_outputs(solc_path).strip() else: combined_json = ",".join(output_values)