mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-07-18 21:08:23 +08:00
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.
5 lines
88 B
Bash
Executable File
5 lines
88 B
Bash
Executable File
#!/bin/sh
|
|
|
|
rm -f ../../../../alias/test-%s-alias
|
|
rm -f ../../../../alias/test-pct-chain
|