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