From 2859a19bbd5a418aec00b6b9610bda55a8824ebb Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 6 Mar 2018 04:38:01 +0000 Subject: [PATCH] [Docs] fix spelling --- Dockerfile | 2 +- README.md | 2 +- ROADMAP.md | 2 +- nvm.sh | 4 ++-- test/fast/Unit tests/node_version_has_solaris_binary | 2 +- test/fast/Unit tests/nvm_alias_path | 2 +- test/fast/Unit tests/nvm_has_solaris_binary | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index b0cf682..79cb15b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ ENV UBUNTU_APT_SITE ubuntu.cs.utah.edu # Disable src package source RUN sed -i 's/^deb-src\ /\#deb-src\ /g' /etc/apt/sources.list -# Replace origin apt pacakge site with the mirror site +# Replace origin apt package site with the mirror site RUN sed -E -i "s/([a-z]+.)?archive.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list RUN sed -i "s/security.ubuntu.com/$UBUNTU_APT_SITE/g" /etc/apt/sources.list diff --git a/README.md b/README.md index 3fb3273..952aad1 100644 --- a/README.md +++ b/README.md @@ -508,7 +508,7 @@ To make the development and testing work easier, we have a Dockerfile for develo $ docker build -t nvm-dev . ``` -This will package your current nvm repository with our pre-defiend development environment into a docker image named `nvm-dev`, once it's built with success, validate your image via `docker images`: +This will package your current nvm repository with our pre-defined development environment into a docker image named `nvm-dev`, once it's built with success, validate your image via `docker images`: ```sh $ docker images diff --git a/ROADMAP.md b/ROADMAP.md index 0f769da..80e89b8 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -3,7 +3,7 @@ This is a list of the primary features planned for `nvm`: - [x] Rewriting installation code paths to support installing `io.js` and `node` `v4+` [from source](https://github.com/creationix/nvm/issues/1188). - - This will include [reusing previously downloaded tarballs](https://github.com/creationix/nvm/issues/1193) that match checksums, which is a nice performance and bandwith bonus. + - This will include [reusing previously downloaded tarballs](https://github.com/creationix/nvm/issues/1193) that match checksums, which is a nice performance and bandwidth bonus. - [ ] Adding opt-in environment variable support to list, download, and install `node` [release candidates](https://github.com/creationix/nvm/issues/779), and [nightly builds](https://github.com/creationix/nvm/issues/1053). - [ ] [`nvm update`](https://github.com/creationix/nvm/issues/400): the ability to autoupdate `nvm` itself - [ ] [v1.0.0](https://github.com/creationix/nvm/milestone/1), including updating the [nvm on npm](https://github.com/creationix/nvm/issues/304) to auto-install nvm properly diff --git a/nvm.sh b/nvm.sh index 2dc7edf..e646e6e 100644 --- a/nvm.sh +++ b/nvm.sh @@ -2176,7 +2176,7 @@ iojs_version_has_solaris_binary() { # Succeeds if $NODE_VERSION represents a node version that has a # Solaris binary, fails otherwise. # Currently, node versions starting from v0.8.6 have a Solaris binary -# avaliable. +# available. node_version_has_solaris_binary() { local NODE_VERSION NODE_VERSION="$1" @@ -2589,7 +2589,7 @@ nvm() { # Fail on lines that have multiple space-separated words case ${line} in *\ * ) - nvm_err "Only one package per line is allowed in the ${NVM_DIR}/default-packages file. Please remove any lines with multiple space-seperated values." + nvm_err "Only one package per line is allowed in the ${NVM_DIR}/default-packages file. Please remove any lines with multiple space-separated values." return 1 ;; esac diff --git a/test/fast/Unit tests/node_version_has_solaris_binary b/test/fast/Unit tests/node_version_has_solaris_binary index b9c72f8..bb70a99 100755 --- a/test/fast/Unit tests/node_version_has_solaris_binary +++ b/test/fast/Unit tests/node_version_has_solaris_binary @@ -16,7 +16,7 @@ assert_not_ok node_version_has_solaris_binary "v3.3.1" # Valid io.js version numbers that have a Solaris binary fail assert_not_ok node_version_has_solaris_binary "iojs-v3.3.1" -# Invvalid io.js version numbers fail +# Invalid io.js version numbers fail assert_not_ok node_version_has_solaris_binary "iojs-v0.12.7" # Valid node version numbers that don't have a Solaris binary fail diff --git a/test/fast/Unit tests/nvm_alias_path b/test/fast/Unit tests/nvm_alias_path index e86d87a..fe304af 100755 --- a/test/fast/Unit tests/nvm_alias_path +++ b/test/fast/Unit tests/nvm_alias_path @@ -4,4 +4,4 @@ die () { echo "$@" ; exit 1; } \. ../../../nvm.sh -[ "_$(nvm_alias_path)" = "_$NVM_DIR/alias" ] || die "nvm_alias_path did not requrn correct location" +[ "_$(nvm_alias_path)" = "_$NVM_DIR/alias" ] || die "nvm_alias_path did not return correct location" diff --git a/test/fast/Unit tests/nvm_has_solaris_binary b/test/fast/Unit tests/nvm_has_solaris_binary index 83ca97e..9d949e4 100755 --- a/test/fast/Unit tests/nvm_has_solaris_binary +++ b/test/fast/Unit tests/nvm_has_solaris_binary @@ -16,7 +16,7 @@ assert_not_ok nvm_has_solaris_binary "v3.3.1" # Valid io.js version numbers that have a Solaris binary succeed assert_ok nvm_has_solaris_binary "iojs-v3.3.1" -# Invvalid io.js version numbers fail +# Invalid io.js version numbers fail assert_not_ok nvm_has_solaris_binary "iojs-v0.12.7" # Valid node version numbers that don't have a Solaris binary fail