Skip to content

Commit

Permalink
fix: error warning not accurate for uninstalled compiler (#99)
Browse files Browse the repository at this point in the history
Co-authored-by: El De-dog-lo <[email protected]>
  • Loading branch information
sabotagebeats and fubuloubu authored Jul 21, 2021
1 parent a5dcbe5 commit e0efbf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ape_compile/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ def cli(filepaths, use_cache, display_size):
else:
selected_paths = str(project.path / "contracts")

notify("WARNING", f"No project files detected in '{selected_paths}'")
extensions = ", ".join(set(f.suffix for f in selected_paths))
notify("WARNING", f"No compilers detected for the following extensions: {extensions}")
return

# TODO: only compile selected contracts
Expand Down

0 comments on commit e0efbf9

Please sign in to comment.