This PR changes the GitHub action workflow for V4 to start running all unit tests and build on both Ubuntu (our current default) _and_ Windows. This is to ensure we catch issues with paths and other Windows-specific things sooner. It does, however, not replace testing on Windows.
5 lines
145 B
TypeScript
5 lines
145 B
TypeScript
import path from 'node:path'
|
|
|
|
export function normalizeWindowsSeperators(p: string) {
|
|
return path.sep === '\\' ? p.replaceAll('\\', '/') : p
|
|
}
|