Fix new profiles with custom config and implement review suggestions
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user