mirror of
https://github.com/sern-handler/handler
synced 2026-06-27 02:02:14 +00:00
once on eventModules
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user