@@ -2,7 +2,7 @@ import { existsSync, mkdirSync } from "node:fs";
22import { dirname , join } from "node:path" ;
33import { parseUrlPkg } from "@jspm/generator" ;
44import { parseNodeModuleCachePath } from "src/parser" ;
5- import { cache , importMap } from ' src/config' ;
5+ import { cache , importMap } from " src/config" ;
66import { IS_DEBUGGING } from "src/constants" ;
77import { logger } from "src/logger" ;
88
@@ -32,13 +32,13 @@ export const isNodeOrFileProtocol = (modulePath: string) => {
3232 const isNode = protocol === "node:" ;
3333 const isFile = protocol === "file:" ;
3434 return isNode || isFile ;
35- }
35+ } ;
3636
3737export const resolveModulePath = ( specifier : string , cacheMapPath : string ) => {
3838 const modulePath = importMap . resolve ( specifier , cacheMapPath ) ;
3939 log . debug ( "resolveModulePath:" , { modulePath } ) ;
4040 return modulePath ;
41- }
41+ } ;
4242
4343export const resolveNodeModuleCachePath = async ( modulePath : string ) => {
4444 try {
@@ -51,9 +51,9 @@ export const resolveNodeModuleCachePath = async (modulePath: string) => {
5151 return nodeModuleCachePath ;
5252 } catch ( err ) {
5353 log . error ( "resolveNodeModuleCachePath:" , err ) ;
54- return
54+ return ;
5555 }
56- }
56+ } ;
5757
5858export const resolveParsedModulePath = async ( modulePath : string , nodeModuleCachePath : string ) => {
5959 try {
@@ -62,6 +62,6 @@ export const resolveParsedModulePath = async (modulePath: string, nodeModuleCach
6262 return parsedNodeModuleCachePath ;
6363 } catch ( err ) {
6464 log . error ( "resolveParsedModulePath:" , err ) ;
65- return
65+ return ;
6666 }
67- }
67+ } ;
0 commit comments