Skip to content

Commit

Permalink
fix(presets): Added ($style) to format in module 'sudo' in Bracketed …
Browse files Browse the repository at this point in the history
…Segments Preset (#5146)

* Fixed error in module 'sudo'

There was no ($style) in format. When module enabled this lead to the error [WARN] - (starship::modules::sudo): Error in module `sudo`

* Update docs/.vuepress/public/presets/toml/bracketed-segments.toml

typo fix

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
  • Loading branch information
e-khurmamatov and davidkna committed May 1, 2023
1 parent 2641a37 commit 1bd6db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vuepress/public/presets/toml/bracketed-segments.toml
Expand Up @@ -164,7 +164,7 @@ format = '\[[$symbol($version)]($style)\]'
format = '\[[$symbol$environment]($style)\]'

[sudo]
format = '\[[as $symbol]\]'
format = '\[[as $symbol]($style)\]'

[swift]
format = '\[[$symbol($version)]($style)\]'
Expand Down

0 comments on commit 1bd6db5

Please sign in to comment.