Commit 5e57717
* Amend `pages dev` error message when an environment is requested
if users run `wrangler pages dev --env=my-env` they currently get
an error saying to use `--branch` instead, the `--branch` option
however only applies to `wrangler pages deploy`, so this error
message can easily confuse users, the changes here update the
error message to simply state that `--env` is not available for
local development
* fixup! Amend `pages dev` error message when an environment is requested
fix formatting
---------
Co-authored-by: Dario Piotrowicz <[email protected]>
1 parent 6f8e892 commit 5e57717
File tree
3 files changed
+7
-2
lines changed- .changeset
- packages/wrangler/src
- __tests__/pages
- pages
3 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
0 commit comments