github.com/nilium/gitlab-runner@v12.5.0+incompatible/commands/config_windows.go (about)

     1  package commands
     2  
     3  import (
     4  	"gitlab.com/gitlab-org/gitlab-runner/helpers"
     5  )
     6  
     7  func getDefaultConfigDirectory() string {
     8  	if currentDir := helpers.GetCurrentWorkingDirectory(); currentDir != "" {
     9  		return currentDir
    10  	}
    11  
    12  	panic("Cannot get default config file location")
    13  }