forked from platformio/platformio-core
Switch to the new ProjectConfig API
This commit is contained in:
1 parent
1b4f945907
commit
c235974eb6
11 files changed
+354
-223
No files matched your search
+4
-2
@@ -24,8 +24,10 @@ from platformio import util
|
||||
def validate_cliresult():
|
||||
|
||||
def decorator(result):
|
||||
assert result.exit_code == 0, result.output
|
||||
assert not result.exception, result.output
|
||||
assert result.exit_code == 0, "{} => {}".format(
|
||||
result.exception, result.output)
|
||||
assert not result.exception, "{} => {}".format(result.exception,
|
||||
result.output)
|
||||
|
||||
return decorator
|
||||
|
||||
|
||||
Reference in new issue
Block a user