Skip to content

Commit 57f4e01

Browse files
author
krystian.panek
committed
Satisfy verbosity
1 parent c05ed3e commit 57f4e01

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/kotlin/com/cognifide/gradle/aem/instance/SatisfyTask.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,28 +95,28 @@ open class SatisfyTask : AemDefaultTask() {
9595
packageStates.forEach { (pkg, state) ->
9696
when {
9797
sync.isSnapshot(pkg) -> {
98-
logger.lifecycle("Satisfying package: $pkg (snapshot).")
98+
logger.lifecycle("Satisfying package ${pkg.name} on ${sync.instance.name} (snapshot).")
9999
sync.deployPackage(pkg)
100100

101101
anyPackageSatisfied = true
102102
actions.add(Action(pkg, sync.instance))
103103
}
104104
state == null -> {
105-
logger.lifecycle("Satisfying package: $pkg (not uploaded).")
105+
logger.lifecycle("Satisfying package ${pkg.name} on ${sync.instance.name} (not uploaded).")
106106
sync.deployPackage(pkg)
107107

108108
anyPackageSatisfied = true
109109
actions.add(Action(pkg, sync.instance))
110110
}
111111
!state.installed -> {
112-
logger.lifecycle("Satisfying package: $pkg (not installed).")
112+
logger.lifecycle("Satisfying package ${pkg.name} on ${sync.instance.name} (not installed).")
113113
sync.installPackage(state.path)
114114

115115
anyPackageSatisfied = true
116116
actions.add(Action(pkg, sync.instance))
117117
}
118118
else -> {
119-
logger.lifecycle("Not satisfying package: $pkg (already installed).")
119+
logger.lifecycle("Not satisfying package: ${pkg.name} on ${sync.instance.name} (already installed).")
120120
}
121121
}
122122
}

0 commit comments

Comments
 (0)