Skip to content

Commit bfcfad3

Browse files
authored
Remove unsed 'windows_install_path' (#1005)
1 parent 8230125 commit bfcfad3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

emsdk.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1743,9 +1743,6 @@ def needs_compilation(self):
17431743
# Specifies the target path where this tool will be installed to. This could
17441744
# either be a directory or a filename (e.g. in case of node.js)
17451745
def installation_path(self):
1746-
if WINDOWS and hasattr(self, 'windows_install_path'):
1747-
pth = self.expand_vars(self.windows_install_path)
1748-
return sdk_path(pth)
17491746
if hasattr(self, 'install_path'):
17501747
pth = self.expand_vars(self.install_path)
17511748
return sdk_path(pth)
@@ -1804,7 +1801,7 @@ def compatible_with_this_os(self):
18041801
if LINUX and hasattr(self, 'linux_url') and self.compatible_with_this_arch():
18051802
return True
18061803

1807-
if WINDOWS and (hasattr(self, 'windows_url') or hasattr(self, 'windows_install_path')) and self.compatible_with_this_arch():
1804+
if WINDOWS and hasattr(self, 'windows_url') and self.compatible_with_this_arch():
18081805
return True
18091806

18101807
if UNIX and hasattr(self, 'unix_url'):

0 commit comments

Comments
 (0)