We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adba388 commit 2b8adbaCopy full SHA for 2b8adba
solc/exceptions.py
@@ -7,4 +7,4 @@ class CompileError(Exception):
7
8
9
class ContractsNotFound(Exception):
10
- """No contracts was found in the target folder."""
+ """No contracts was found in the target folder."""
solc/main.py
@@ -43,7 +43,7 @@ def _parse_compiler_output(stdoutdata):
43
44
output = json.loads(stdoutdata)
45
46
- if not "contracts" in output:
+ if "contracts" not in output:
47
# {'sources': {}, 'version': 'xxx'}
48
# solc did not pick up any contracts
49
raise ContractsNotFound(output)
0 commit comments