Skip to content

Commit

Permalink
remove case insensitivity
Browse files Browse the repository at this point in the history
  • Loading branch information
emily-shen committed Oct 31, 2024
1 parent eb68f6f commit f405bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrangler/src/config/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2773,7 +2773,7 @@ const validateBindingsHaveUniqueNames = (
bindingsGroupedByName[bindingName] = [];
}

if (bindingName.toUpperCase() === "ASSETS" && isPagesConfig(config)) {
if (bindingName === "ASSETS" && isPagesConfig(config)) {
diagnostics.errors.push(
`The name 'ASSETS' is reserved in Pages projects. Please use a different name for your ${bindingType} binding.`
);
Expand Down

0 comments on commit f405bf5

Please sign in to comment.