5 lines
151 B
JavaScript
5 lines
151 B
JavaScript
|
const isWindows = typeof process === 'object' &&
|
||
|
process &&
|
||
|
process.platform === 'win32'
|
||
|
module.exports = isWindows ? { sep: '\\' } : { sep: '/' }
|