mirror of
https://github.com/Readarr/Readarr
synced 2026-01-19 22:13:44 +01:00
5 lines
166 B
JavaScript
5 lines
166 B
JavaScript
export default function combinePath(isWindows, basePath, paths = []) {
|
|
const slash = isWindows ? '\\' : '/';
|
|
|
|
return `${basePath}${slash}${paths.join(slash)}`;
|
|
}
|