tests: around 60% code coverage for config package
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-07-19 14:36:00 +01:00
parent cfe2f70151
commit a60ebf8710
7 changed files with 122 additions and 0 deletions

View File

@ -75,6 +75,8 @@ func GetApp(apps AppFiles, name AppName) (App, error) {
return app, nil
}
// TODO: maybe better names than read and get
func readAppFile(appFile AppFile, name AppName) (App, error) {
env, err := readEnv(appFile.Path)
if err != nil {