Skip to content

Commit

Permalink
fix: replace bad doc URL in output
Browse files Browse the repository at this point in the history
When the framework isn't detected, a message is printed to stdout. Currently, this includes a link to a page that provides no useful information about framework detection. This replaces the URL with an actionable one.
  • Loading branch information
serhalp committed Mar 22, 2024
1 parent 577a6b5 commit 59111be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/detect-server-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const DEFAULT_STATIC_PORT = 3999
const getDefaultDist = (workingDir: string) => {
log(`${NETLIFYDEVWARN} Unable to determine public folder to serve files from. Using current working directory`)
log(`${NETLIFYDEVWARN} Setup a netlify.toml file with a [dev] section to specify your dev server settings.`)
log(`${NETLIFYDEVWARN} See docs at: https://cli.netlify.com/netlify-dev#project-detection`)
log(`${NETLIFYDEVWARN} See docs at: https://docs.netlify.com/cli/local-development/#project-detection`)
return workingDir
}

Expand Down

0 comments on commit 59111be

Please sign in to comment.