Skip to content

Commit

Permalink
add fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Walker-GM committed May 5, 2023
1 parent a06cd5f commit 21c21eb
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/create-redwood-app/src/create-redwood-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ async function executeCompatibilityCheck(templateDir, yarnInstall) {
` Please use tools like nvm or corepack to change to a compatible version.`,
` See: ${terminalLink(
'Tutorial - Prerequisites',
'https://redwoodjs.com/docs/tutorial/chapter1/prerequisites'
'https://redwoodjs.com/docs/tutorial/chapter1/prerequisites',
{
fallback: () =>
'Tutorial - Prerequisites https://redwoodjs.com/docs/tutorial/chapter1/prerequisites',
}
)}`,
].join('\n')
)
Expand All @@ -125,7 +129,11 @@ async function executeCompatibilityCheck(templateDir, yarnInstall) {
` This may make your project incompatible with some deploy targets, especially those using AWS Lambdas.`,
` See: ${terminalLink(
'Tutorial - Prerequisites',
'https://redwoodjs.com/docs/tutorial/chapter1/prerequisites'
'https://redwoodjs.com/docs/tutorial/chapter1/prerequisites',
{
fallback: () =>
'Tutorial - Prerequisites https://redwoodjs.com/docs/tutorial/chapter1/prerequisites',
}
)}`,
].join('\n')
)
Expand Down

0 comments on commit 21c21eb

Please sign in to comment.