Skip to content

Commit

Permalink
chore: remove redundant words
Browse files Browse the repository at this point in the history
Signed-off-by: oftenoccur <[email protected]>
  • Loading branch information
oftenoccur committed Jan 18, 2025
1 parent 7ff39f2 commit 456ff03
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/logger/test/unit/logs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe("Util: logs", () => {
});
});

it("should should limit the size of the string object properties", () => {
it("should limit the size of the string object properties", () => {
const obj = {
longProp: "1".repeat(2 * maxLength),
shortProp: "1"
Expand Down
4 changes: 2 additions & 2 deletions packages/toolkit/truffle/contracts/contracts_v0.4/proxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ contract ACL is IACL, AragonApp, ACLHelpers {
}

/**
* @dev Revokes permission if allowed. This requires `msg.sender` to be the the permission manager
* @dev Revokes permission if allowed. This requires `msg.sender` to be the permission manager
* @notice Revokes `_entity` the ability to perform actions of role `_role` on `_app`
* @param _entity Address of the whitelisted entity to revoke access from
* @param _app Address of the app in which the role will be revoked
Expand Down Expand Up @@ -1271,7 +1271,7 @@ contract ACL is IACL, AragonApp, ACLHelpers {
return (r1 && !r2) || (!r1 && r2);
}

return r2; // both or and and depend on result of r2 after checks
return r2; // both or and depend on result of r2 after checks
}

function compare(uint256 _a, Op _op, uint256 _b) internal pure returns (bool) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ contract ACL is IACL, AragonApp, ACLHelpers {
}

/**
* @dev Revokes permission if allowed. This requires `msg.sender` to be the the permission manager
* @dev Revokes permission if allowed. This requires `msg.sender` to be the permission manager
* @notice Revokes `_entity` the ability to perform actions of role `_role` on `_app`
* @param _entity Address of the whitelisted entity to revoke access from
* @param _app Address of the app in which the role will be revoked
Expand Down Expand Up @@ -1271,7 +1271,7 @@ contract ACL is IACL, AragonApp, ACLHelpers {
return (r1 && !r2) || (!r1 && r2);
}

return r2; // both or and and depend on result of r2 after checks
return r2; // both or and depend on result of r2 after checks
}

function compare(uint256 _a, Op _op, uint256 _b) internal pure returns (bool) {
Expand Down

0 comments on commit 456ff03

Please sign in to comment.