We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 406fba5 commit 55c83a7Copy full SHA for 55c83a7
.changeset/slimy-clocks-matter.md
@@ -0,0 +1,5 @@
1
+---
2
+"wrangler": patch
3
4
+
5
+containers: Do not check scopes if not defined
packages/wrangler/src/cloudchamber/common.ts
@@ -201,7 +201,7 @@ export async function fillOpenAPIConfiguration(
201
const accountId = await requireAuth(config);
202
const auth = requireApiToken();
203
const scopes = getScopes();
204
- if (!scopes?.includes(scope)) {
+ if (scopes !== undefined && !scopes.includes(scope)) {
205
logger.error(`You don't have '${scope}' in your list of scopes`);
206
printScopes(scopes ?? []);
207
throw new UserError(
0 commit comments