Skip to content

Commit 998b257

Browse files
committed
Fix ; if (
1 parent 23f4d67 commit 998b257

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Extension/src/Utility/Remoting/snare.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ export function startRemoting(connection: Worker | MessagePort, endpoint: Endpoi
161161
throw new Error(`Attempting to call unknown remote method on endpoint: ${operation}`);
162162
}
163163

164-
const retVal = endpoint[operation](...parameters); if (sequence) {
164+
const retVal = endpoint[operation](...parameters);
165+
if (sequence) {
165166
// Is it a request? If so, post the result.
166167
postResult(sequence, retVal);
167168
}

0 commit comments

Comments
 (0)