Skip to content

Commit cf8db7d

Browse files
committed
Update comment stating assumption about config file fields
1 parent 9f94ac8 commit cf8db7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/cachix/auth_token.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func TryCachixConfigFile() sdk.Importer {
5353
fileString = strings.Trim(fileString, "{}")
5454
// Remove spaces to make parsing simpler
5555
fileString = strings.Join(strings.Fields(fileString), "")
56-
// There should be 3 fields: authToken, hostname, binaryCaches
56+
// Split fields into separate strings
5757
keyVals := strings.Split(fileString, ",")
5858

5959
for i := range keyVals {

0 commit comments

Comments
 (0)