[Fix] `nvm_resolve_local_alias`: avoid using variable as printf format string
Using a variable as the format string means `%` characters in alias names would be interpreted as format specifiers. Use `%b` format with the variable as an argument to safely interpret `\n` escapes. Bug introduced in https://github.com/nvm-sh/nvm/commit/9b91734f0b6a210f0c6655b0cd25ea288d9ae376.
J
Jordan Harband committed
d2fca5f0ec4366ca62c8c9b4e5b0bdb4057f1d24
Parent: 3c48015