-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cli] Replace "More details" with "Learn More" #4828
Conversation
@@ -496,7 +496,7 @@ function getMissingBuildScriptError() { | |||
code: 'missing_build_script', | |||
message: | |||
'Your `package.json` file is missing a `build` property inside the `scripts` property.' + | |||
'\nMore details: https://vercel.com/docs/v2/platform/frequently-asked-questions#missing-build-script', | |||
'\nLearn More: https://vercel.com/docs/v2/platform/frequently-asked-questions#missing-build-script', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use link
and action
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure 🤔 I'm trying to improve it a little step at a time, so I haven't looked at whether we properly handle the error
object in all the cases here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok we can revisit in another PR
Follow up #4825. Replace more "More details" with "Learn More".