From f717f4bf22011e8e2b956ef65e15a5e05b9d26b2 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Fri, 22 Jul 2022 00:07:35 -0500 Subject: [PATCH] Import parseMacho normally --- helpers/scanner/parsers/macho.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helpers/scanner/parsers/macho.js b/helpers/scanner/parsers/macho.js index df58862..e4aeab7 100644 --- a/helpers/scanner/parsers/macho.js +++ b/helpers/scanner/parsers/macho.js @@ -1,5 +1,7 @@ import { Buffer } from 'buffer/' +import parseMacho from '~/helpers/macho/index.js' + // import { Parser as MachoNodeParser } from './macho-node/parser.js' function makeFileBuffer ( buffer ) { @@ -83,8 +85,7 @@ export class MachoManiac { } async run () { - // import parseMacho from '~/helpers/macho/index.js' - const { default: parseMacho } = await import( '~/helpers/macho/index.js' ) + // const { default: parseMacho } = await import( '~/helpers/macho/index.js' ) const contextHasFileGlobal = typeof File === 'function'