Urara-Blog/node_modules/.pnpm-store/v3/files/05/b48bb267431c80c1adf507bae547aacd701241ff5881709e73bc297b2e78adf8280a0ede9b8312e3f977580c0ca52832f46d83660b4b025b236fdcaf6bffe4
2022-08-14 01:14:53 +08:00

5 lines
117 B
Text

export default function slash ( path ) {
return typeof path === 'string' ?
path.replace( /\\/g, '/' ) :
path;
}