i think it works okay
This commit is contained in:
@@ -17,6 +17,7 @@ func TaskRun(c Config) {
|
||||
for i := range c.Tasks {
|
||||
title := c.Tasks[i].TaskName
|
||||
interval := c.Tasks[i].Interval
|
||||
asset := c.Tasks[i].Icon
|
||||
|
||||
var desc string
|
||||
// check if desc is empty and use the cmd output, if not just get the desc
|
||||
@@ -25,7 +26,6 @@ func TaskRun(c Config) {
|
||||
} else {
|
||||
desc = c.Tasks[i].TaskDesc
|
||||
}
|
||||
asset := c.Tasks[i].Icon
|
||||
|
||||
//run the commands with go func()!
|
||||
wg.Add(1)
|
||||
|
||||
Reference in New Issue
Block a user