6 lines
144 B
TypeScript
6 lines
144 B
TypeScript
|
const cwd = process.cwd()
|
||
|
|
||
|
export function getLocalFileName(request: string) {
|
||
|
return request.substr(request.lastIndexOf(cwd) + cwd.length)
|
||
|
}
|