Skip to content

Commit

Permalink
no need to be async
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoventurini committed Nov 20, 2023
1 parent d4f4eae commit 71b98b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/hijack/instrument.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ Kadira._startInstrumenting = async function (callback) {
}

instrumented = true;
await wrapStringifyDDP();
await wrapWebApp();
wrapStringifyDDP();
wrapWebApp();
wrapFastRender();
wrapPicker();
wrapFs();
Expand Down
2 changes: 1 addition & 1 deletion lib/hijack/wrap_ddp_stringify.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DDPCommon } from 'meteor/ddp-common';

export async function wrapStringifyDDP () {
export function wrapStringifyDDP () {
let originalStringifyDDP = DDPCommon.stringifyDDP;

DDPCommon.stringifyDDP = function (msg) {
Expand Down
2 changes: 1 addition & 1 deletion lib/hijack/wrap_webapp.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const InfoSymbol = Symbol('MontiInfoSymbol');
/**
* https://github.com/meteor/meteor/pull/12442
*/
export async function wrapWebApp () {
export function wrapWebApp () {
if (!canWrapStaticHandler) {
return;
}
Expand Down

0 comments on commit 71b98b0

Please sign in to comment.