once on eventModules

This commit is contained in:
jacob
2024-05-25 12:39:24 -05:00
parent af0f909c44
commit 12a8f0c5d7
6 changed files with 14 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ import * as Id from './id'
import { Module } from '../types/core-modules';
export const parseCallsite = (site: string) => {
const pathobj = path.posix.parse(site.replace(/file:\\?/, "")
const pathobj = path.parse(site.replace(/file:\\?/, "")
.split(path.sep)
.join(path.posix.sep))
return { name: pathobj.name,