Add logback config
This commit is contained in:
@@ -9,11 +9,11 @@ class ProjectZip(private val templates: List<Template>) {
|
||||
fun createZip(project: Project): String {
|
||||
val name: String
|
||||
|
||||
ZipOutput(sanitizeFilename(project.name)).use {
|
||||
name = it.name
|
||||
ZipOutput(sanitizeFilename(project.name)).use { zip ->
|
||||
name = zip.name
|
||||
|
||||
templates.forEach { template ->
|
||||
it.write(template.path(project), template.render(project))
|
||||
templates.filter { it.enabled(project) }.forEach { template ->
|
||||
zip.write(template.path(project), template.render(project))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user