Skip to content

Commit

Permalink
fix: fixing typo in wrangler publish error message (#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
petebacondarwin authored Jun 10, 2022
1 parent 101342e commit a1e24a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions packages/wrangler/src/__tests__/publish.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,9 @@ describe("publish", () => {
"▲ [WARNING] The current authentication token does not have 'All Zones' permissions.
Falling back to using the zone-based API endpoint to update each route individually.
Note that there is no access to read or create routes associated with zones that the API token
does not have permission for.
No existing routes will been deleted in this case.
Note that there is no access to routes associated with zones that the API token does not have
permission for.
Existing routes for this Worker in such zones will not be deleted.
▲ [WARNING] Previously deployed routes:
Expand Down
4 changes: 2 additions & 2 deletions packages/wrangler/src/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,8 @@ async function publishRoutesFallback(
logger.warn(
"The current authentication token does not have 'All Zones' permissions.\n" +
"Falling back to using the zone-based API endpoint to update each route individually.\n" +
"Note that there is no access to read or create routes associated with zones that the API token does not have permission for.\n" +
"No existing routes will been deleted in this case."
"Note that there is no access to routes associated with zones that the API token does not have permission for.\n" +
"Existing routes for this Worker in such zones will not be deleted."
);

const deployedRoutes: string[] = [];
Expand Down

0 comments on commit a1e24a3

Please sign in to comment.