mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-02-19 06:33:51 +00:00
4 lines
112 B
TypeScript
4 lines
112 B
TypeScript
|
|
export function normalize(pathString: string) {
|
||
|
|
return pathString.replace(/\\/g, "/").replace(/\/+/g, "/");
|
||
|
|
}
|