From 7f14a12555375834791c27815747894a43010b77 Mon Sep 17 00:00:00 2001 From: Phil Sturgeon Date: Tue, 10 Oct 2017 17:06:04 -0400 Subject: [PATCH] Lovely text improvements from @ljharb --- CONTRIBUTING.md | 2 +- README.md | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb41654..3fb0e8b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,6 +25,6 @@ npm install make test ``` -You might be asked for your password for some tests that require a few extra privilages. If you don't want to enter it, feel free not to, but the related tests will fail. +You might be asked for your password for some tests that require a few extra privileges. If you don't want to enter it, feel free not to, but the related tests will fail. Thanks again! diff --git a/README.md b/README.md index b89c31f..aedb697 100644 --- a/README.md +++ b/README.md @@ -346,11 +346,13 @@ Now using node v5.9.1 (npm v3.7.3) ### .node-version -For a little compatability with other node version managers, nvm will also sniff for `.node-version` files. They're the same as `.nmvrc`, they just share a common name. +For a little compatability with other node version managers, nvm will also sniff for `.node-version` files, defaulting to `.nvmrc` if both are found in the same folder. +``` $ echo "5.9" > .node-version +``` -They'll be loaded after `.nvmrc`, and can contain the same values as `.nvmrc`. +Unlike `.nvmrc`, `.node-version` cannot contain a "versionish" (an alias, like `node`, `iojs`, or a custom alias you’ve defined). `.node-version` can only have versions in the format of v1, v1.2, or v1.2.3 (the `v` is optional). ### Deeper Shell Integration