Fix typos.

PiperOrigin-RevId: 716211176
Change-Id: Ibadfe13db89ed9047832b977e918faa3c5c6d9f1
This commit is contained in:
Yuval Tassa
2025-01-16 06:27:55 -08:00
committed by Copybara-Service
parent 4da2ddce29
commit 893a993bf6
16 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -993,7 +993,7 @@ std::string FilePath::PathReduce(const std::string& str) {
int j = abs_prefix.size();
for (int i = j; i < str.size(); ++i) {
if (IsSeperator(str[i])) {
if (IsSeparator(str[i])) {
std::string temp = str.substr(j, i - j);
j = i + 1;
if (temp == ".." && !dirs.empty() && dirs.back() != "..") {