mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Fix RegExp for line error
This commit is contained in:
@ -223,7 +223,7 @@ class PlatformPackagesMixin(object):
|
||||
|
||||
class PlatformRunMixin(object):
|
||||
|
||||
LINE_ERROR_RE = re.compile(r"(\s+error|error[:\s]+)", re.I)
|
||||
LINE_ERROR_RE = re.compile(r"(^|\s+)error:?\s+", re.I)
|
||||
|
||||
def run(self, variables, targets, silent, verbose):
|
||||
assert isinstance(variables, dict)
|
||||
|
Reference in New Issue
Block a user