fix corp softcap

This commit is contained in:
Olivier Gagnon
2021-11-05 21:01:23 -04:00
parent 88b4a7d862
commit eb6f016ac1
12 changed files with 76 additions and 66 deletions
+6
View File
@@ -265,3 +265,9 @@ export function evaluateFilePath(path: string, currPath?: string): string | null
return "/" + reconstructedPath.join("/");
}
export function areFilesEqual(f0: string, f1: string): boolean {
if (!f0.startsWith("/")) f0 = "/" + f0;
if (!f1.startsWith("/")) f1 = "/" + f1;
return f0 === f1;
}