ok

Mini Shell

Direktori : /opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules.bundled/slash/
Upload File :
Current File : //opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules.bundled/slash/index.js

'use strict';
module.exports = function (str) {
	var isExtendedLengthPath = /^\\\\\?\\/.test(str);
	var hasNonAscii = /[^\x00-\x80]+/.test(str);

	if (isExtendedLengthPath || hasNonAscii) {
		return str;
	}

	return str.replace(/\\/g, '/');
};

Zerion Mini Shell 1.0