Fix new profiles with custom config and implement review suggestions

This commit is contained in:
Daniel
2021-02-11 14:53:33 +01:00
parent 7d6d679929
commit 9bf89c32c0
7 changed files with 108 additions and 51 deletions

View File

@@ -152,7 +152,7 @@ func findProfile(linkedPath string) (profile *Profile, err error) {
}
// If there was no profile in the database, create a new one, and return it.
profile = New(SourceLocal, "", linkedPath)
profile = New(SourceLocal, "", linkedPath, nil)
// Check if the profile should be marked as internal.
// This is the case whenever the binary resides within the data root dir.