fix: terminalLink does not support (#9277)
This commit is contained in:
1 parent
4885c3708b
commit
968b85b446
2 files changed
+6
-1
No files matched your search
@@ -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