mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-11 14:51:49 +00:00
Fix eclint
This commit is contained in:
parent
33c74fea6e
commit
de8ac9cff6
@ -517,13 +517,13 @@ Now using node v5.9.1 (npm v3.7.3)
|
|||||||
```bash
|
```bash
|
||||||
# This is a comment
|
# This is a comment
|
||||||
|
|
||||||
node # Another comment
|
node # Another comment
|
||||||
```
|
```
|
||||||
When reading the `.nvmrc` file, nvm will:
|
When reading the `.nvmrc` file, nvm will:
|
||||||
1. Remove all comments on their own line as shown in the first line of the example
|
1. Remove all comments on their own line as shown in the first line of the example
|
||||||
2. Remove all comments in middle of a line. Because of this, # is not allowed inside your `nvm` alias. Example on line 3
|
2. Remove all comments in middle of a line. Because of this, # is not allowed inside your `nvm` alias. Example on line 3
|
||||||
3. Remove all newlines such as the one on line 2
|
3. Remove all newlines such as the one on line 2
|
||||||
4. Remove all tabs, such as the one on line 3
|
4. Remove all tabs
|
||||||
5. Trim the lines
|
5. Trim the lines
|
||||||
|
|
||||||
### Deeper Shell Integration
|
### Deeper Shell Integration
|
||||||
|
Loading…
Reference in New Issue
Block a user