persona-community-5/.pnpm-store/v3/files/10/959e509915aa7154c503830e6f261f3707d2b4fbe01c5e63327fcfcbe7152cc2fe72fea0ad6e48c7e6ad111ba4345c373aea7d1ccfcddb8490ed0777c38080
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

12 lines
289 B
Plaintext

'use strict';
module.exports = path => {
const isExtendedLengthPath = /^\\\\\?\\/.test(path);
const hasNonAscii = /[^\u0000-\u0080]+/.test(path); // eslint-disable-line no-control-regex
if (isExtendedLengthPath || hasNonAscii) {
return path;
}
return path.replace(/\\/g, '/');
};