mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat(nodejs): check node engines version in package.json (#1847)
* check node engines version in package.json * fix code, following review.
This commit is contained in:
@@ -1727,6 +1727,7 @@ The module will be shown if any of the following conditions are met:
|
||||
| `symbol` | `"⬢ "` | A format string representing the symbol of NodeJS. |
|
||||
| `style` | `"bold green"` | The style for the module. |
|
||||
| `disabled` | `false` | Disables the `nodejs` module. |
|
||||
| `not_capable_style` | `bold red` | The style for the module when an engines property in Packages.json does not match the NodeJS version. |
|
||||
|
||||
### Variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user