[Build] Fix CodeChecker
authorWonyoung Choi <wy80.choi@samsung.com>
Mon, 24 Dec 2018 02:09:27 +0000 (11:09 +0900)
committerWonyoung Choi <wy80.choi@samsung.com>
Mon, 24 Dec 2018 02:09:27 +0000 (11:09 +0900)
tools/scripts/CodeChecker/main.py

index 297b06d8ce1e750e36c198b02d3f0cda550cfe59..989b4d9c3c879d4cd7e4839c621062381408d5cb 100644 (file)
@@ -30,7 +30,7 @@ if __name__ == "__main__":
           pr.CreateReviewComment(file, warning['line'], _warningMessage)
 
   # Report Errors
-  if len(logs.erros) > 0:
+  if len(logs.errors) > 0:
     errBody = '### Build Error:\n'
     for err in logs.errors:
       errBody += '> {}({}): {}: {}\n'.format(err['file'], err['line'], err['code'], err['message'])