Skip to content
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

fix: replace bad doc URL in output #6460

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`frameworks/framework-detection > should default to process.cwd() and st
β—ˆ No app server detected. Using simple static server
β—ˆ Unable to determine public folder to serve files from. Using current working directory
β—ˆ Setup a netlify.toml file with a [dev] section to specify your dev server settings.
β—ˆ See docs at: https://cli.netlify.com/netlify-dev#project-detection
β—ˆ See docs at: https://docs.netlify.com/cli/local-development/#project-detection
β—ˆ Running static server from \\"site-with-index-file\\"
β—ˆ Setting up local development server
Expand Down Expand Up @@ -34,7 +34,7 @@ exports[`frameworks/framework-detection > should filter frameworks with no dev c
β—ˆ No app server detected. Using simple static server
β—ˆ Unable to determine public folder to serve files from. Using current working directory
β—ˆ Setup a netlify.toml file with a [dev] section to specify your dev server settings.
β—ˆ See docs at: https://cli.netlify.com/netlify-dev#project-detection
β—ˆ See docs at: https://docs.netlify.com/cli/local-development/#project-detection
β—ˆ Running static server from \\"site-with-gulp\\"
β—ˆ Setting up local development server
Expand Down Expand Up @@ -73,7 +73,7 @@ exports[`frameworks/framework-detection > should not run framework detection if
"β—ˆ Netlify Dev β—ˆ
β—ˆ Unable to determine public folder to serve files from. Using current working directory
β—ˆ Setup a netlify.toml file with a [dev] section to specify your dev server settings.
β—ˆ See docs at: https://cli.netlify.com/netlify-dev#project-detection
β—ˆ See docs at: https://docs.netlify.com/cli/local-development/#project-detection
β—ˆ Setting up local development server
β—ˆ Starting Netlify Dev with custom config
hello
Expand All @@ -96,7 +96,7 @@ exports[`frameworks/framework-detection > should print specific error when comma
"β—ˆ Netlify Dev β—ˆ
β—ˆ Unable to determine public folder to serve files from. Using current working directory
β—ˆ Setup a netlify.toml file with a [dev] section to specify your dev server settings.
β—ˆ See docs at: https://cli.netlify.com/netlify-dev#project-detection
β—ˆ See docs at: https://docs.netlify.com/cli/local-development/#project-detection
β—ˆ Setting up local development server
β—ˆ Starting Netlify Dev with #custom
β—ˆ Failed running command: oops-i-did-it-again forgot-to-use-a-valid-command. Please verify 'oops-i-did-it-again' exists"
Expand Down Expand Up @@ -179,7 +179,7 @@ exports[`frameworks/framework-detection > should use static server when framewor
β—ˆ Using simple static server because '[dev.framework]' was set to '#static'
β—ˆ Unable to determine public folder to serve files from. Using current working directory
β—ˆ Setup a netlify.toml file with a [dev] section to specify your dev server settings.
β—ˆ See docs at: https://cli.netlify.com/netlify-dev#project-detection
β—ˆ See docs at: https://docs.netlify.com/cli/local-development/#project-detection
β—ˆ Running static server from \\"site-with-index-file\\"
β—ˆ Setting up local development server
Expand Down