We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 416ab0f commit d8c8fcbCopy full SHA for d8c8fcb
internal/config/flavor.go
@@ -1,6 +1,7 @@
1
package config
2
3
import (
4
+ "fmt"
5
"os"
6
"path/filepath"
7
@@ -23,7 +24,7 @@ func SetDefaultHoverYamlFile() {
23
24
// SetHoverFlavor sets the user defined hover flavor.
25
// eg. hover-develop.yaml, hover-staging.yaml, etc.
26
func SetHoverFlavor(flavor string) {
- hoverYaml = "hover-" + flavor + ".yaml"
27
+ hoverYaml = fmt.Sprintf("hover-%s.yaml", flavor)
28
assertYamlFileExists(hoverYaml)
29
}
30
0 commit comments