Skip to content

Commit a1e24a3

Browse files
fix: fixing typo in wrangler publish error message (#1223)
1 parent 101342e commit a1e24a3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/wrangler/src/__tests__/publish.test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,9 @@ describe("publish", () => {
677677
"▲ [WARNING] The current authentication token does not have 'All Zones' permissions.
678678
679679
Falling back to using the zone-based API endpoint to update each route individually.
680-
Note that there is no access to read or create routes associated with zones that the API token
681-
does not have permission for.
682-
No existing routes will been deleted in this case.
680+
Note that there is no access to routes associated with zones that the API token does not have
681+
permission for.
682+
Existing routes for this Worker in such zones will not be deleted.
683683
684684
685685
▲ [WARNING] Previously deployed routes:

packages/wrangler/src/publish.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,8 @@ async function publishRoutesFallback(
626626
logger.warn(
627627
"The current authentication token does not have 'All Zones' permissions.\n" +
628628
"Falling back to using the zone-based API endpoint to update each route individually.\n" +
629-
"Note that there is no access to read or create routes associated with zones that the API token does not have permission for.\n" +
630-
"No existing routes will been deleted in this case."
629+
"Note that there is no access to routes associated with zones that the API token does not have permission for.\n" +
630+
"Existing routes for this Worker in such zones will not be deleted."
631631
);
632632

633633
const deployedRoutes: string[] = [];

0 commit comments

Comments
 (0)