Commit 1f60b28
committed
put debug output behind a flag.
Every time you open a javascript file, it echoes the fact that it added
node_modules to the path, which, when the package is operating as
expected is mostly noise.
This enhances the debug output to not only include the exact
directories which are added to the `exec-path`, but also to only
output when the debug flag, `add-node-modules-path-debug` is turned
on.1 parent 9ed240e commit 1f60b28
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
45 | | - | |
46 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
| |||
0 commit comments