Skip to content

Commit 8520f9b

Browse files
committed
Applied tomblind#72 manually.
1 parent b5cb6c3 commit 8520f9b

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

debugger/debugger.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -843,25 +843,6 @@ export namespace Debugger {
843843
}
844844

845845
function comparePaths(a: string, b: string) {
846-
// let aLen = a.length;
847-
// const bLen = b.length;
848-
// if (aLen === bLen) {
849-
// return a === b;
850-
// }
851-
// //Ensure 'a' is the shorter path
852-
// if (bLen < aLen) {
853-
// [a, aLen, b] = [b, bLen, a];
854-
// }
855-
// if (a !== b.sub(-aLen)) {
856-
// return false;
857-
// }
858-
// //If shorter string doesn't start with '/', make sure the longer one has '/' right before the substring
859-
// //so we don't match a partial filename.
860-
// if (a.sub(1, 1) === Path.separator) {
861-
// return true;
862-
// }
863-
// const bSep = -(aLen + 1);
864-
// return b.sub(bSep, bSep) === Path.separator;
865846
return Path.getAbsolute(a) === Path.getAbsolute(b);
866847
}
867848

0 commit comments

Comments
 (0)