Migrate to using join* functions instead of deprecated.
This commit is contained in:
committed by
Andrey Breslav
parent
19858b9f74
commit
f471f7901c
@@ -17,7 +17,7 @@ fun customerTemplate(customer: Customer) = """
|
||||
<body>
|
||||
<h1>Hello ${customer.name}</h1>
|
||||
<ul>
|
||||
${customer.products.map{ productSnippet(it) }.makeString("\n")}
|
||||
${customer.products.map{ productSnippet(it) }.join("\n")}
|
||||
</ul>
|
||||
<p>lets do some kool stuff</p>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user