Skip to content

Commit ecfc563

Browse files
authored
Fix typo of all scripts (#13314)
1 parent e668c84 commit ecfc563

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

scripts/build_zip.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ EOF
2424
exit 1
2525
fi
2626

27-
# The release build won't generage Carthage distro if the curreent
27+
# The release build won't generate Carthage distro if the current
2828
# PackageManifest version has already been released.
2929
carthage_version_check="--enable-carthage-version-check"
3030

scripts/check.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ USAGE: scripts/check.sh [--allow-dirty] [--commit] [<revision>]
2424
Runs auto-formatting scripts, source-tree checks, and linters on any files that
2525
have changed since origin/main.
2626
27-
By default, any changes are left as uncommited changes in the working tree. You
27+
By default, any changes are left as uncommitted changes in the working tree. You
2828
can review them with git diff. Pass --commit to automatically commit any changes.
2929
3030
Pass an alternate revision to use as the basis for checking changes.
@@ -174,7 +174,7 @@ if ! git diff-index --quiet HEAD --; then
174174
fi
175175
fi
176176

177-
# Show Travis-related environment variables, to help with debuging failures.
177+
# Show Travis-related environment variables, to help with debugging failures.
178178
if [[ "${VERBOSE}" == true ]]; then
179179
env | egrep '^TRAVIS_(BRANCH|COMMIT|PULL|REPO)' | sort || true
180180
fi

scripts/cpplint.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@
857857
# Files to exclude from linting. This is set by the --exclude flag.
858858
_excludes = None
859859

860-
# Whether to supress all PrintInfo messages, UNRELATED to --quiet flag
860+
# Whether to suppress all PrintInfo messages, UNRELATED to --quiet flag
861861
_quiet = False
862862

863863
# The allowed line length of files.

scripts/health_metrics/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ python3 measure_cocoapod_size.py --cocoapods FirebaseABTesting
6969

7070
The `binary_size_metrics` on GitHub Actions [workflow](https://github.com/firebase/firebase-ios-sdk/blob/main/.github/workflows/health-metrics-presubmit.yml)
7171
is running binary size measurement presubmits and postsubmits. The environment for this job
72-
could be found in `runs-on`. More details about the envionment could be found [here](https://github.com/actions/virtual-environments#available-environments).
72+
could be found in `runs-on`. More details about the environment could be found [here](https://github.com/actions/virtual-environments#available-environments).
7373

7474
Factors below might also affect the binary size:
7575
- Each testapp is measured by a default version Xcode from the GitHub Actions environment above.

scripts/health_metrics/generate_code_coverage_report/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Common parameters for both pull_request and merge:
2424

2525
In a workflow, this will run for each pull request update. The command below will generate a report
2626
in a PR. After a workflow of test coverage is done, a new coverage report will be posted on a
27-
comment of a pull request. If such comment has existed, this comment will be overriden by the latest
27+
comment of a pull request. If such comment has existed, this comment will be overridden by the latest
2828
report.
2929

3030
Since the flag is `presubmit` here, the following options are required for a PR request:

scripts/health_metrics/generate_code_coverage_report/Sources/IncrementalCoverageReportGenerator/main.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct FileIncrementalChanges: Codable {
4545
}
4646
}
4747

48-
/// `xccov` outcomes of a file from a xcresult bundle will be transfered
48+
/// `xccov` outcomes of a file from a xcresult bundle will be transferred
4949
/// to the following instance.
5050
struct LineCoverage: Codable {
5151
var fileName: String

scripts/health_metrics/generate_code_coverage_report/Sources/UpdatedFilesCollector/main.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ struct UpdatedFilesCollector: ParsableCommand {
115115
encoding: String.Encoding.utf8
116116
)
117117
} catch {
118-
fatalError("Error while writting in \(outputPath.path).\n\(error)")
118+
fatalError("Error while writing in \(outputPath.path).\n\(error)")
119119
}
120120
}
121121
}

scripts/rotate_secrets.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ for encrypted_file in $files; do
7878
exit 1
7979
fi
8080

81-
# Cleanup the decrpted file now that it's been re-encrypted.
81+
# Cleanup the decrypted file now that it's been re-encrypted.
8282
rm "$decrypted_file"
8383
done

scripts/run_database_emulator.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# USAGE: run_database_emulator.sh { run | start | stop }
1818
#
19-
# Downloads and runs the Firebase Realtime Databas emulator
19+
# Downloads and runs the Firebase Realtime Database emulator
2020

2121
set -euo pipefail
2222

0 commit comments

Comments
 (0)