mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-30 10:38:13 -05:00
fix: terminalLink does not support (#9277)
This commit is contained in:
5
.changeset/bumpy-forks-love.md
Normal file
5
.changeset/bumpy-forks-love.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/plugin-commands-patching": patch
|
||||
---
|
||||
|
||||
When `terminalLink` is not supported, it should fallback to the default text.
|
||||
@@ -127,7 +127,7 @@ export async function handler (opts: PatchCommandOptions, params: string[]): Pro
|
||||
|
||||
return `Patch: You can now edit the package at:
|
||||
|
||||
${terminalLink(chalk.blue(editDir), 'file://' + editDir)}
|
||||
${terminalLink(chalk.blue(editDir), 'file://' + editDir, { fallback: false })}
|
||||
|
||||
To commit your changes, run:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user