mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
fix(nodejs): Check for .nvmrc (#2626)
* feat(nodejs): Check for `.nvmrc` * Fix test
This commit is contained in:
@@ -1863,6 +1863,7 @@ By default the module will be shown if any of the following conditions are met:
|
||||
|
||||
- The current directory contains a `package.json` file
|
||||
- The current directory contains a `.node-version` file
|
||||
- The current directory contains a `.nvmrc` file
|
||||
- The current directory contains a `node_modules` directory
|
||||
- The current directory contains a file with the `.js`, `.mjs` or `.cjs` extension
|
||||
- The current directory contains a file with the `.ts` extension
|
||||
|
||||
Reference in New Issue
Block a user