mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
refactoring
This commit is contained in:
@@ -81,8 +81,7 @@ func printTaskDependencies(l *logger.Logger, t *taskfile.Task) {
|
||||
}
|
||||
|
||||
func printTaskCommands(l *logger.Logger, t *taskfile.Task) {
|
||||
noCommands := len(t.Cmds) == 0
|
||||
if noCommands {
|
||||
if len(t.Cmds) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user