Unverified Commit a00ccd91 authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #746 from thomaslee/tom_minor_type

Fix minor typo spotted by lintian
parents 5c16ad4b 29c7d9ed
......@@ -1511,7 +1511,7 @@ private:
entry.set(kj::mv(copy));
} else {
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;
}
}
......@@ -1543,7 +1543,7 @@ private:
entry.set(kj::mv(copy));
} else {
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;
}
}
......@@ -1560,7 +1560,7 @@ private:
// Since symlinks are immutable, we can implement LINK the same as COPY.
entry.init(SymlinkNode { lastModified.orDefault(clock.now()), kj::mv(*content) });
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;
}
}
......
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