mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
allow defaultCommandset to be overridden (#25605)
The new defaultCommandset does not respect an override in sg.config.overwrite.yaml, so this adds that field to the merge function so it will be respected.
This commit is contained in:
parent
4376334b53
commit
dad129c2c8
@ -113,6 +113,10 @@ func (c *Config) Merge(other *Config) {
|
||||
c.Commandsets[k] = v
|
||||
}
|
||||
|
||||
if other.DefaultCommandset != "" {
|
||||
c.DefaultCommandset = other.DefaultCommandset
|
||||
}
|
||||
|
||||
for k, v := range other.Tests {
|
||||
if original, ok := c.Tests[k]; ok {
|
||||
c.Tests[k] = original.Merge(v)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user