mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-01-13 20:27:28 -08:00
fix(toml): remove unsupported schema definition
This commit is contained in:
parent
f13eae852b
commit
39b7615aac
|
@ -56,7 +56,6 @@ func (cfg *Config) Export(format string) string {
|
|||
data := strings.Replace(result.String(), "{", prefix, 1)
|
||||
return escapeGlyphs(data, cfg.MigrateGlyphs)
|
||||
case TOML:
|
||||
prefix := "#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json\n\n"
|
||||
tomlEncoder := toml.NewEncoder(&result)
|
||||
tomlEncoder.SetIndentTables(true)
|
||||
|
||||
|
@ -65,7 +64,7 @@ func (cfg *Config) Export(format string) string {
|
|||
return ""
|
||||
}
|
||||
|
||||
return prefix + result.String()
|
||||
return result.String()
|
||||
}
|
||||
|
||||
// unsupported format
|
||||
|
|
Loading…
Reference in a new issue