Skip to content

Commit

Permalink
Properly match calendars to accounts. Closes #11
Browse files Browse the repository at this point in the history
  • Loading branch information
deanishe committed Mar 7, 2019
1 parent c600065 commit 132e242
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func doUpdateEvents() error {
continue
}

go func(c *Calendar) {
go func(c *Calendar, acc *Account) {

defer wg.Done()

Expand All @@ -131,7 +131,7 @@ func doUpdateEvents() error {
for _, e := range evs {
ch <- e
}
}(c)
}(c, acc)
}
}

Expand Down
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@ Configuration
<string>5</string>
</dict>
<key>version</key>
<string>0.2.3</string>
<string>0.2.4</string>
<key>webaddress</key>
<string></string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func Dist() error {
return err
}

fmt.Printf(" %s (%v)\n", name, fi.Mode().Perm())
fmt.Printf("%v %s\n", fi.Mode().Perm(), name)

var (
f *os.File
Expand Down

0 comments on commit 132e242

Please sign in to comment.