1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

refactoring

This commit is contained in:
jaedle
2019-03-04 12:28:26 +01:00
parent 8eadfc1bf6
commit 4fd82ab222

View File

@@ -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
}