Skip to content

Commit b6964c1

Browse files
fixup! create a wrangler.toml file for the user in case one is not already present
update outdated code comment
1 parent ffbc477 commit b6964c1

File tree

1 file changed

+3
-2
lines changed
  • packages/cloudflare/src/cli/build

1 file changed

+3
-2
lines changed

packages/cloudflare/src/cli/build/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,10 @@ function ensureCloudflareConfig(config: OpenNextConfig) {
184184
}
185185

186186
/**
187-
* Creates a `wrangler.jsonc` file for the user if it doesn't exist, but only after asking for the user's confirmation.
187+
* Creates a `wrangler.jsonc` file for the user if a wrangler config file doesn't already exist,
188+
* but only after asking for the user's confirmation.
188189
*
189-
* If the user refuses an error is thrown (since the file is mandatory).
190+
* If the user refuses a warning is shown (which offers ways to opt out of this check to the user).
190191
*
191192
* @param projectOpts The options for the project
192193
*/

0 commit comments

Comments
 (0)