Skip to content

Commit

Permalink
chore: fix some typos in comment (#1191)
Browse files Browse the repository at this point in the history
Signed-off-by: chuangjinglu <[email protected]>
  • Loading branch information
chuangjinglu authored Jan 27, 2025
1 parent 186442a commit 7cacbec
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG NODE_VERSION=20.10.0
# while not breaking the flow for local development
#
# Local development does not by default have access to GHCR and would require
# an additonal step (docker login). While this step is easy, it is still nicer
# an additional step (docker login). While this step is easy, it is still nicer
# to provide a transiton period during which the local flow remains unchanged
# and the base image is built locally
#
Expand Down
2 changes: 1 addition & 1 deletion examples/oft-solana/tasks/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const createSdkFactory = (
//
// For our purposes this will always be the user account coming from the secret key passed in
() => userAccount,
// The second paramter is a program ID factory
// The second parameter is a program ID factory
//
// This is a function that receives an OmniPoint ({ eid, address } object)
// and returns a program ID to be used with that SDK.
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-evm-hardhat/src/tasks/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ const action: ActionType<TaskArgs> = async (
// For display purposes, we'll track the number of networks we deployed
let numProcessed: number = 0

// And for diplay purposes we'll also track the failures
// And for display purposes we'll also track the failures
const results: DeployResults = {}

// Now we run all the deployments
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools/test/common/retry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('common/retry', () => {
expect(mock).toHaveBeenCalledTimes(2)
})

it('should use the default config if paramter has not been specified', async () => {
it('should use the default config if parameter has not been specified', async () => {
const error = new Error('Told ya')
const mock = jest.fn().mockRejectedValue(error)
const handleRetry = jest.fn().mockReturnValue(true)
Expand Down
2 changes: 1 addition & 1 deletion packages/io-devtools/src/language/plurals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const pluralizeOrdinal = (n: number): string => {
* ```
*
* @param {number} n
* @param {string} singular The signular form of the english noun
* @param {string} singular The singular form of the english noun
* @param {string} [plural] Plural version of the noun for irregular cases
* @returns {string}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const SUBTASK_CUSTOM_CONFIGURE = '::my:custom:configure:subtask'
* Instead of using the default schema, we'll pass our own schema
* that also validates the `customProperty` value.
*
* This step is optional - the default schema will pass any additonal
* This step is optional - the default schema will pass any additional
* properties through (so the customProperty will be included).
*/
task(
Expand Down Expand Up @@ -48,7 +48,7 @@ task(
* and users might opt to skip the SDK layer altogether and access raw contract
* data instead.
*
* This step is required - the default schema will pass any additonal
* This step is required - the default schema will pass any additional
* properties through (so the customProperty will be included).
*/
task(SUBTASK_CUSTOM_CONFIGURE, 'Custom configuration subtask', async (args: SubtaskConfigureTaskArgs, hre) => {
Expand Down

0 comments on commit 7cacbec

Please sign in to comment.