We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31882f3 commit e30284bCopy full SHA for e30284b
refresh.template.py
@@ -771,7 +771,8 @@ def _emscripten_platform_patch(compile_args: typing.List[str]):
771
assert sysroot, f'Emscripten sysroot not detected in CMD: {compile_args}'
772
773
def get_workspace_root(path_from_execroot: pathlib.PurePath):
774
- assert path_from_execroot.parts[0] == 'external'
+ if path_from_execroot.parts[0] != 'external':
775
+ return pathlib.PurePath('.')
776
return pathlib.PurePath('external') / path_from_execroot.parts[1]
777
778
environment = {
0 commit comments