Skip to content

Commit

Permalink
Simplify encryptionFormat check
Browse files Browse the repository at this point in the history
Co-authored-by: mix irving <[email protected]>
  • Loading branch information
Powersource and mixmix authored Dec 7, 2023
1 parent 4a4ee8e commit aa0c219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = {

// no allowPublic and has recps/can publish without recps, allowed
if (
(input.encryptionFormat !== undefined) ||
input.encryptionFormat ||
isString(content) ||
hasRecps(content) ||
allowedTypes.has(content.type)
Expand Down

0 comments on commit aa0c219

Please sign in to comment.