Skip to content

Commit f787a06

Browse files
committed
Fix misc typos, in comments/tests/rare error messages so no behavioural changes should result
1 parent b4b0986 commit f787a06

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

install-package

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ if install_packages;then
118118
echo ">> Finished successfully."
119119
fi
120120
else
121-
echo ">> Errors have occured during package installation."
121+
echo ">> Errors have occurred during package installation."
122122
exit 1
123123
fi
124124

release/create.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -euo pipefail
55
ARTIFACT_CLI_VERSION="v0.6.5"
66
SPC_CLI_VERSION="v1.12.1"
77
WHEN_CLI_VERSION="v1.2.1"
8-
# we include multiple when binaries for all suported Erlang versions
8+
# we include multiple when binaries for all supported Erlang versions
99
# and configure the correct one based on Erlang version in the VM where toolbox is installed
1010
WHEN_BINARY_VERSION_1="when_otp_24"
1111
WHEN_BINARY_VERSION_2="when_otp_25"

retry

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function retry_execution {
4949
# echo "$__result__";
5050

5151
if [ $__result__ -eq "0" ]; then
52-
exit 0; # command executed succesfully
52+
exit 0; # command executed successfully
5353
else
5454
if [[ $__i__ == $__n__ ]]; then
5555
echo "[$__i__/$__n__] Execution Failed with exit status $__result__. No more retries."

sem-context/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ func Execute() {
2727

2828
func init() {
2929
Store = &store.ArtifactStore{}
30-
RootCmd.PersistentFlags().BoolVar(&flags.IgnoreFailure, "ignore-failure", false, "Ignore if failure occures, and always return 0.")
30+
RootCmd.PersistentFlags().BoolVar(&flags.IgnoreFailure, "ignore-failure", false, "Ignore if failure occurs, and always return 0.")
3131
}

sem-context/pkg/store/artifacts_store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (_ *ArtifactStore) Delete(key, contextId string) error {
7878
log.Printf("error executing artifact command: %v. Output: %s\n", err, output)
7979
}
8080

81-
// The key might be present in some of the parent pipline's context as well, but we cant delete them there, as they might be used by some other pipeline.
81+
// The key might be present in some of the parent pipeline's context as well, but we cant delete them there, as they might be used by some other pipeline.
8282
// We will just mark those keys as deleted inside this pipeline's context.
8383
artifact_output, err := execArtifactCommand(Push, file.Name(), keysInfoDirName+contextId+"/.deleted/"+key)
8484
if err != nil {

system-metrics-collector

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Simple log system metrics collector. Polls the system state every 1s and
55
# saves the result to /tmp/system-metrics.
66
#
7-
# The simple nature of the script allows it to seemlesly run in any Linux based
7+
# The simple nature of the script allows it to seamlessly run in any Linux based
88
# VM, Docker image, or on a MacVM host.
99
#
1010
# The recommended way to start the script is to run it in the background.

test-results/pkg/parser/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func ParseTime(s string) time.Duration {
6666
return d
6767
}
6868

69-
// ParseInt parsers string respresentation of integer to integer value
69+
// ParseInt parsers string representation of integer to integer value
7070
func ParseInt(s string) int {
7171
i, err := strconv.Atoi(s)
7272
if err != nil {

test-results/priv/parsers/stdout/in.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<failure message="Assertion with == failed">I've failed</failure>
77
</testcase>
88
<testcase name="trims stderr">
9-
<system-err>assume-im-longerr</system-err>
9+
<system-err>assume-im-longer</system-err>
1010
<failure message="Assertion with == failed">I've failed as well</failure>
1111
</testcase>
1212
<testcase name="trims stderr" system-out="assume-im-long-but-also-ive-succeeded"></testcase>

tests/artifacts.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ setup() {
77
echo "hello" > /tmp/unique-file-$SEMAPHORE_JOB_ID
88
}
99

10-
@test "artifacts - uploading to proect level" {
10+
@test "artifacts - uploading to project level" {
1111
run artifact push project /tmp/unique-file-$SEMAPHORE_JOB_ID
1212
assert_success
1313

tests/compiler.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ setup() {
2626
cd -
2727
}
2828

29-
@test "compiler can evaluare change_in expressions" {
29+
@test "compiler can evaluate change_in expressions" {
3030
cd /tmp/test-repo-clone
3131

3232
run spc evaluate change-in --input .semaphore/semaphore.yml --output .semaphore/semaphore.yml.compiler --logs .semaphore/semaphore.yml.logs

0 commit comments

Comments
 (0)