Skip to content

Commit 4950e50

Browse files
committed
Fix typos
1 parent 0277f75 commit 4950e50

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

pkg/completions/_basalt.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ case $state in
5454
(upgrade)
5555
local subcommandOptions=()
5656
subcommandOptions=("${(@f)$(basalt complete upgrade)}")
57-
# TODO: Check if basalt complete upgrade was successfull?
57+
# TODO: Check if basalt complete upgrade was successful?
5858
_describe -t commands "gem subcommand" subcommandOptions
5959
;;
6060
esac

pkg/completions/basalt.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ complete -c $cmd -f -n "__fish_seen_subcommand_from $subcmd" -a "$subcommandOpti
3030

3131
set subcmd upgrade
3232
set -l subcommandOptions
33-
# TODO: only complete if (basalt complete upgrade) was successfull
33+
# TODO: only complete if (basalt complete upgrade) was successful
3434
complete -c $cmd -f -n "__fish_seen_subcommand_from $subcmd" -a "$subcommandOptions (basalt complete upgrade)"

pkg/share/scripts/basalt-package-init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ basalt.package-init() {
5656
}
5757

5858
if [ "$BASALT_INTERNAL_NEWINIT" = 'no' ]; then
59-
# The old-style way of initing with no arguments
59+
# The old-style way of initializing with no arguments
6060
# Expect the developer to call setup functions manually
6161

6262
# #!/usr/bin/env bash
@@ -76,7 +76,7 @@ if [ "$BASALT_INTERNAL_NEWINIT" = 'no' ]; then
7676

7777
# Since things are done manually, the user calls basalt.package-init, etc. and things work
7878
else
79-
# The new-style way of initing with arguments
79+
# The new-style way of initializing with arguments
8080
# Everything is handled automatically
8181

8282
# #!/usr/bin/env bash

pkg/src/bin/basalt.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# shellcheck shell=bash
22

33
# Usually, a Basalt package won't have calls to `set`, `shopt`, `source`, etc., since
4-
# that is specified declaritively in `basalt.toml`. But, since that behavior is dependent
4+
# that is specified declaratively in `basalt.toml`. But, since that behavior is dependent
55
# on Basalt, and Basalt doesn't bootstrap itself, we must setup the environment here.
66

77
main.basalt() {
@@ -18,7 +18,7 @@ main.basalt() {
1818
fi
1919

2020
# Don't re-source files when doing testing. This speeds up testing and also
21-
# ensures function stubs are not overriden
21+
# ensures function stubs are not overridden
2222
if [ "$BASALT_INTERNAL_IS_TESTING" != 'yes' ]; then
2323
init.common_init "$__basalt_dirname"
2424
fi

pkg/src/commands/basalt-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ basalt-release() {
6969
fi
7070

7171
if [ "$version_string" = '0.0.0' ]; then
72-
print.info "Unnable to publish a '0.0.0' version"
72+
print.info "Unable to publish a '0.0.0' version"
7373
fi
7474

7575
# TODO: after self-bootstrap, add additional validation checks

pkg/src/public/basalt-package.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ basalt.package-load() {
7979
fi
8080
fi
8181

82-
shopt -s nullglob # TODO: unecessary and can put at bottom?
82+
shopt -s nullglob # TODO: unnecessary and can put at bottom?
8383
done; unset -v __basalt_package
8484
done; unset -v __basalt_repository_owner
8585
done; unset -v __basalt_site

pkg/src/util/pkg.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ pkg.list_packages() {
44
:
55
}
66

7-
# @description Installs a pacakge and all its dependencies, relative to a
7+
# @description Installs a package and all its dependencies, relative to a
88
# particular project_dir. symlink_mode changes how components of its direct
99
# dependencies are synced
1010
pkg.install_packages() {
@@ -292,8 +292,8 @@ fi"
292292
# Set options
293293
local str=
294294
for option in allexport braceexpand emacs errexit errtrace functrace hashall histexpand \
295-
history ignoreeof interactive-commants keyword monitor noclobber noexec noglob nolog \
296-
notify nounset onecmd physical pipefail posix priviledged verbose vi xtrace; do
295+
history ignoreeof interactive-comments keyword monitor noclobber noexec noglob nolog \
296+
notify nounset onecmd physical pipefail posix privileged verbose vi xtrace; do
297297
if bash_toml.quick_string_get "$project_dir/basalt.toml" "run.setOptions.$option"; then
298298
if [ "$REPLY" = 'on' ]; then
299299
str+="set -o $option"$'\n'

pkg/src/util/pkgutil.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ pkgutil.get_latest_package_version() {
254254

255255
# TODO: will it get beta/alpha/pre-releases??
256256

257-
# Get the latest pacakge version that has been released
257+
# Get the latest package version that has been released
258258
if [ "$repo_type" = remote ]; then
259259
if [ "$site" = 'github.com' ]; then
260260
local latest_package_version=

0 commit comments

Comments
 (0)