commands/config_windows.go (10 lines of code) (raw):

package commands import ( "gitlab.com/gitlab-org/gitlab-runner/helpers/homedir" ) func getDefaultConfigDirectory() string { if currentDir := homedir.New().GetWDOrEmpty(); currentDir != "" { return currentDir } panic("Cannot get default config file location") }