Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _check_logs(path):
with open(str(path / "build.log")) as build_log:
for line in build_log.readlines():
if PackageBuilder._regex.search(line):
yield line