From c95bb0d5d603de0026937fdee24c9c31d28c2458 Mon Sep 17 00:00:00 2001 From: snoppy Date: Sun, 7 Apr 2024 09:08:34 +0800 Subject: [PATCH] chore: fix typos --- packages/js-sdk/src/Framework.js | 2 +- packages/metadata/tasks/compare-committed-against-build.sh | 2 +- packages/subgraph/tasks/deploy.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/js-sdk/src/Framework.js b/packages/js-sdk/src/Framework.js index 772c902f7d..8d70e814f2 100644 --- a/packages/js-sdk/src/Framework.js +++ b/packages/js-sdk/src/Framework.js @@ -59,7 +59,7 @@ module.exports = class Framework { options.gasReportType !== "JSON" ) { throw new Error( - "Unsuported gas report type: " + options.gasReportType + "Unsupported gas report type: " + options.gasReportType ); } console.debug("Enabling gas report type:", options.gasReportType); diff --git a/packages/metadata/tasks/compare-committed-against-build.sh b/packages/metadata/tasks/compare-committed-against-build.sh index 25b11313a9..8b52b38376 100755 --- a/packages/metadata/tasks/compare-committed-against-build.sh +++ b/packages/metadata/tasks/compare-committed-against-build.sh @@ -13,7 +13,7 @@ function hashFiles() { # first of all, ensure that we have valid json jq empty networks.json -# Hash the commited files +# Hash the committed files main_list_committed_hash=$(hashFiles ./main/networks/list.cjs) module_list_committed_hash=$(hashFiles ./module/networks/list.js) diff --git a/packages/subgraph/tasks/deploy.sh b/packages/subgraph/tasks/deploy.sh index 77dab25502..18864e05f7 100755 --- a/packages/subgraph/tasks/deploy.sh +++ b/packages/subgraph/tasks/deploy.sh @@ -160,7 +160,7 @@ if [ -z "$VENDOR" ] || [ -z "$NETWORK" ] || [ -z "$DEPLOYMENT_ENV" ] || [ -z "$V print_usage_and_exit fi -# We can safely ignore this warning, becasue the value in vendor won't contain whitespaces +# We can safely ignore this warning, because the value in vendor won't contain whitespaces # shellcheck disable=SC2199,SC2076 if [[ ! " ${SUPPORTED_VENDORS[@]} " =~ " $VENDOR " ]]; then print_usage_and_exit