mirror of
https://github.com/r0adkll/sign-android-release
synced 2026-10-01 00:51:36 +00:00
Adding missing node modules
This commit is contained in:
3915 files changed
+667176
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
module.exports = input => {
|
||||
const isExtendedLengthPath = /^\\\\\?\\/.test(input);
|
||||
const hasNonAscii = /[^\u0000-\u0080]+/.test(input); // eslint-disable-line no-control-regex
|
||||
|
||||
if (isExtendedLengthPath || hasNonAscii) {
|
||||
return input;
|
||||
}
|
||||
|
||||
return input.replace(/\\/g, '/');
|
||||
};
|
||||
Reference in new issue
Block a user