Commit 29c7d9ed authored by Tom Lee's avatar Tom Lee

Fix minor typo spotted by lintian

parent 5c16ad4b
...@@ -1511,7 +1511,7 @@ private: ...@@ -1511,7 +1511,7 @@ private:
entry.set(kj::mv(copy)); entry.set(kj::mv(copy));
} else { } else {
if (mode == TransferMode::MOVE) { if (mode == TransferMode::MOVE) {
KJ_ASSERT(fromDirectory.tryRemove(fromPath), "could't move node", fromPath) { KJ_ASSERT(fromDirectory.tryRemove(fromPath), "couldn't move node", fromPath) {
return false; return false;
} }
} }
...@@ -1543,7 +1543,7 @@ private: ...@@ -1543,7 +1543,7 @@ private:
entry.set(kj::mv(copy)); entry.set(kj::mv(copy));
} else { } else {
if (mode == TransferMode::MOVE) { if (mode == TransferMode::MOVE) {
KJ_ASSERT(fromDirectory.tryRemove(fromPath), "could't move node", fromPath) { KJ_ASSERT(fromDirectory.tryRemove(fromPath), "couldn't move node", fromPath) {
return false; return false;
} }
} }
...@@ -1560,7 +1560,7 @@ private: ...@@ -1560,7 +1560,7 @@ private:
// Since symlinks are immutable, we can implement LINK the same as COPY. // Since symlinks are immutable, we can implement LINK the same as COPY.
entry.init(SymlinkNode { lastModified.orDefault(clock.now()), kj::mv(*content) }); entry.init(SymlinkNode { lastModified.orDefault(clock.now()), kj::mv(*content) });
if (mode == TransferMode::MOVE) { if (mode == TransferMode::MOVE) {
KJ_ASSERT(fromDirectory.tryRemove(fromPath), "could't move node", fromPath) { KJ_ASSERT(fromDirectory.tryRemove(fromPath), "couldn't move node", fromPath) {
return false; return false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment