Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #740

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/config/runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This meant that some constructs for runtime configuration, namely dynamic
things, like `System.get_env/1` would be evaluated at build time, not runtime,
which was a source of confusion. Older tools introduced `REPLACE_OS_VARS`, an
environment variable you export at runtime which instructed the tool to replace
occurances of `${VAR}` with the value from the system environment in the
occurrences of `${VAR}` with the value from the system environment in the
`sys.config` file.

The problem with `REPLACE_OS_VARS` is that it's essentially a hack, and as such
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/deploying_to_aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ following is a list of the benefits:
same node
* _Secure Configuration_ - secrets are stored via SSM in the parameter store
as secure strings, encrypted with a key dedicated to the stack. Only the
application and adminstrators can access the secrets
application and administrators can access the secrets
* _Secure Networking_ - use of security groups and network rules ensure that
only the traffic which we want to allow is permitted to reach each area of
the infrastructure
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Generated test app
==> Assembling release..
==> Building release test:0.1.0 using environment dev
==> You have set dev_mode to true, skipping archival phase
Release succesfully built!
Release successfully built!
To start the release you have built, you can use one of the following tasks:

# start a shell, like 'iex -S mix'
Expand Down
2 changes: 1 addition & 1 deletion docs/introduction/walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ When you run `mix distillery.release`, you should see something like the followi
==> Assembling release..
==> Building release myapp:0.1.0 using environment dev
==> You have set dev_mode to true, skipping archival phase
Release succesfully built!
Release successfully built!
To start the release you have built, you can use one of the following tasks:

# start a shell, like 'iex -S mix'
Expand Down
2 changes: 1 addition & 1 deletion priv/libexec/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ _replace_os_vars() {
mv -- "$1.bak" "$1"
}

# Do a textual replacement of ${VAR} occurrances in $1 and pipe to stdout
# Do a textual replacement of ${VAR} occurrences in $1 and pipe to stdout
_replace_os_vars_str() {
awk '
function escape(s) {
Expand Down
6 changes: 3 additions & 3 deletions test/cases/shell_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ defmodule Distillery.Test.ShellTest do
end

describe "silent mode" do
test "all output should be supressed" do
test "all output should be suppressed" do
Shell.configure(:silent)

assert capture_io(fn ->
Expand Down Expand Up @@ -97,7 +97,7 @@ defmodule Distillery.Test.ShellTest do
end

describe "quiet mode" do
test "debug and info messages should be supressed" do
test "debug and info messages should be suppressed" do
Shell.configure(:quiet)

assert capture_io(fn ->
Expand Down Expand Up @@ -136,7 +136,7 @@ defmodule Distillery.Test.ShellTest do
end

describe "normal mode" do
test "debug messages should be supressed" do
test "debug messages should be suppressed" do
Shell.configure(:normal)

assert capture_io(fn ->
Expand Down