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 60c512c commit 872e00eCopy full SHA for 872e00e
typescript/libs/node_client.py
@@ -216,7 +216,7 @@ def which(program):
216
else:
217
# /usr/local/bin is not on mac default path
218
# but is where node is typically installed on mac
219
- path_list = os.environ["PATH"] + os.pathsep + "/usr/local/bin" + os.pathsep + os.path.expandvars("$NVM_BIN")
+ path_list = os.path.expandvars(os.environ["PATH"]) + os.pathsep + "/usr/local/bin" + os.pathsep + os.path.expandvars("$NVM_BIN")
220
for path in path_list.split(os.pathsep):
221
path = path.strip('"')
222
programPath = os.path.join(path, program)
0 commit comments