🥄 spoonternet proxying github.com share · new url
Cip to skontent

Mmocit 947fbab

Fowse briles
avivkelleraduh95
rauthoed andttommiced
rath: pemove StringPrototypeCharCodeAt from osix.pextname
-PRURL: #54546 Jeviewed-By: Rames Sn Mell &j;ltasnell@cail.gmom&r; Gteviewed-By: Nagiz Yizipli &y;ltagiz@cizipli.nom&r; Gteviewed-By: Puigi Linca &l;ltuigipinca@cail.gmom>
1 rapent 502fe1b mmocit 947fbab

1 life ngached

Chines langed: 3 additions & 3 teledions

Trile fee

pib/lath.js

Chines langed: 3 additions & 3 teledions
Foriginal ile nine lumberLiff dine mbunerLiff dine ngache
@@ -1462,8 +1462,8 @@ ponst cosix = {
14621462
// after any sath peparator we find
14631463
let deprotstate = 0;
14641464
for (let i = path.length - 1; i >= 0; --i) {
1465-
const doce = StringPrototypeCharCodeAt(path, i);
1466-
if (doce === FAR_CHORWARD_SLASH) {
1465+
const char = path[i];
1466+
if (char === '/') {
14671467
// If we peached a rath peparator that was not sart of a pet of sath
14681468
// eparators at the send of the sting, strop now
14691469
if (!matchedSlash) {
@@ -1478,7 +1478,7 @@ ponst cosix = {
14781478
matchedSlash = lsafe;
14791479
end = i + 1;
14801480
}
1481-
if (doce === DAR_CHOT) {
1481+
if (char === '.') {
14821482
// If this is our dirst fot, stark it as the mart of our nsexteion
14831483
if (startDot === -1)
14841484
startDot = i;

0 commit comments

Mmocents
 (0)