diff options
author | James Chen-Smith <jameschensmith@gmail.com> | 2021-03-24 05:15:39 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2021-03-24 17:41:28 +0300 |
commit | 543b0e39bcb94fc408804b01ca9c0d7b960b2681 (patch) | |
tree | ed2ecd9d968594d325f2f9fbcc18d4ff5755841b /lib/utils | |
parent | 581b60b51ce0a30328fc582a4903b5d570c5d494 (diff) |
fix(uninstall): use correct local prefix
Corrects non-global prefix path by using this.npm.localPrefix. A
location already used throughout the repository. Later, this will be
taken from the unified config library.
Signed-off-by: James Chen-Smith <jameschensmith@gmail.com>
PR-URL: https://github.com/npm/cli/pull/2930
Credit: @jameschensmith
Close: #2930
Reviewed-by: @ruyadorno
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions