Skip to content

Commit

Permalink
fixup! doh!
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Apr 28, 2024
1 parent c49e815 commit 79f98d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/@endo+exo+1.4.0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ index 3bc696d..55df34e 100644
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
diff --git a/node_modules/@endo/exo/src/exo-tools.js b/node_modules/@endo/exo/src/exo-tools.js
index e091adc..b9eb0d3 100644
index e091adc..20bf28d 100644
--- a/node_modules/@endo/exo/src/exo-tools.js
+++ b/node_modules/@endo/exo/src/exo-tools.js
@@ -18,7 +18,7 @@ import { GET_INTERFACE_GUARD } from './get-interface.js';
Expand Down Expand Up @@ -225,7 +225,7 @@ index e091adc..b9eb0d3 100644
+ const originalMethod = behaviorMethods[prop];
+ const { shiftedMethod } = {
+ shiftedMethod(...args) {
+ return originalMethod([this, ...args]);
+ return originalMethod(this, ...args);
+ },
+ };
+ const behaviorMethod = thisfulMethods ? originalMethod : shiftedMethod;
Expand Down

0 comments on commit 79f98d9

Please sign in to comment.