Skip to content

Commit

Permalink
Merge pull request capnproto#746 from thomaslee/tom_minor_type
Browse files Browse the repository at this point in the history
Fix minor typo spotted by lintian
  • Loading branch information
kentonv authored Sep 25, 2018
2 parents 5c16ad4 + 29c7d9e commit a00ccd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c++/src/kj/filesystem.c++
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -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;
}
}
Expand All @@ -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;
}
}
Expand Down

0 comments on commit a00ccd9

Please sign in to comment.