| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5d74c9e commit 3e6d992
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -702,8 +702,13 @@ def Execute(args, context, timeout=None, env={}, faketty=False): | |||
| 702 | 702 | fd_in = 0 | |
| 703 | 703 | pty_out = None | |
| 704 | 704 | ||
| 705 | - # Extend environment | ||
| 706 | 705 | env_copy = os.environ.copy() | |
| 706 | + | ||
| 707 | + # Remove NODE_PATH | ||
| 708 | + if "NODE_PATH" in env_copy: | ||
| 709 | + del env_copy["NODE_PATH"] | ||
| 710 | + | ||
| 711 | + # Extend environment | ||
| 707 | 712 | for key, value in env.iteritems(): | |
| 708 | 713 | env_copy[key] = value | |
| 709 | 714 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments