Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion emsdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,10 @@ def fetch_nightly_node_versions():

def dir_installed_nightly_node_versions():
path = os.path.abspath('node')
return [name for name in os.listdir(path) if os.path.isdir(os.path.join(path, name)) and name.startswith("nightly-")]
try:
return [name for name in os.listdir(path) if os.path.isdir(os.path.join(path, name)) and name.startswith("nightly-")]
except Exception:
return []


def extract_newest_node_nightly_version(versions):
Expand Down