Skip to content

Commit

Permalink
fix: use correct comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibirius committed Jan 29, 2024
1 parent af5cd1c commit 705181a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/wrangler/src/secret/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export const secretBulkHandler = async (secretBulkArgs: SecretBulkArgs) => {
// secrets that currently exist for the worker but are not provided for bulk update
// are inherited over with other binding types
return (
binding.type !== "secret_text" || content[binding.name] !== undefined
binding.type !== "secret_text" || content[binding.name] === undefined
);
})
.map((binding) => ({ type: binding.type, name: binding.name }));
Expand Down

0 comments on commit 705181a

Please sign in to comment.