MCPcopy Index your code
hub / github.com/ekalinin/nodeenv / remove_env_bin_from_path

Function remove_env_bin_from_path

nodeenv.py:167–171  ·  view source on GitHub ↗

Remove bin directory of the current environment from PATH

(env, env_bin_dir)

Source from the content-addressed store, hash-verified

165
166
167def remove_env_bin_from_path(env, env_bin_dir):
168 """
169 Remove bin directory of the current environment from PATH
170 """
171 return env.replace(env_bin_dir + ':', '')
172
173
174def parse_version(version_str):

Callers 1

install_activateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected