Skip to content

Commit

Permalink
Update packages/ses/src/compartment-shim.js
Browse files Browse the repository at this point in the history
Co-authored-by: Mark S. Miller <erights@users.noreply.github.com>
  • Loading branch information
kriskowal and erights authored Aug 28, 2021
1 parent 1e8fe49 commit 7e63539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ses/src/compartment-shim.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export const makeCompartmentConstructor = (
identifier => !isValidIdentifierName(identifier),
);
if (invalidNames.length) {
throw new FERAL_ERROR(
throw new TypeError(
`Cannot create compartment with invalid names for global lexicals: ${arrayJoin(
invalidNames,
', ',
Expand Down

0 comments on commit 7e63539

Please sign in to comment.