mirror of https://github.com/tc39/test262.git
Lint: fix CheckHarnessFeatures.comparison_result_lists initial condition checks order
This commit is contained in:
parent
8a2ec34200
commit
c7a5d21bee
|
@ -14,12 +14,14 @@ class CheckHarnessFeatures(Check):
|
|||
def comparison_result_lists(self, meta):
|
||||
|
||||
result = {'features': set(), 'missing': set()}
|
||||
|
||||
if not meta or 'includes' not in meta:
|
||||
return result
|
||||
|
||||
meta_features = meta['features'] if 'features' in meta else []
|
||||
meta_includes = meta['includes']
|
||||
features = []
|
||||
|
||||
if not meta or 'includes' not in meta:
|
||||
return result
|
||||
|
||||
if len(meta_includes) == 0:
|
||||
return result
|
||||
|
|
Loading…
Reference in New Issue