Fix build.

This commit is contained in:
David Anderson 2023-10-12 22:35:08 -07:00
parent db11f8a7ee
commit e0bb71f189

View File

@ -151,7 +151,7 @@ class MMSConfig(object):
else:
sdk_path = ResolveEnvPath(sdk.envvar, sdk.folder)
if sdk_path is None:
if use_all or sdk_name in sdk_list:
if (use_all and sdk_name != 'mock') or sdk_name in sdk_list:
raise Exception('Could not find a valid path for {0}'.format(sdk.envvar))
not_found.append(sdk_name)
continue