Skip to content

Commit

Permalink
fix: use full harden when creating E
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Aug 14, 2020
1 parent 87172eb commit adc8e73
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/eventual-send/src/E.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* global harden */

// FIXME: Remove this and just use harden once the E proxy no longer
// is created by ../shim.js.
const FIXMEharden = x => x;

// eslint-disable-next-line spaced-comment
/// <reference path="index.d.ts" />

Expand Down Expand Up @@ -75,5 +71,5 @@ export default function makeE(HandledPromise) {
E.when = (x, onfulfilled = undefined, onrejected = undefined) =>
HandledPromise.resolve(x).then(onfulfilled, onrejected);

return FIXMEharden(E);
return harden(E);
}

0 comments on commit adc8e73

Please sign in to comment.