Skip to content

Commit

Permalink
Fixes #17141: when we add a multiline description in Technique, it br…
Browse files Browse the repository at this point in the history
…eaks policy generation and technique loading
  • Loading branch information
VinceMacBuche committed Apr 16, 2020
1 parent 17f18d9 commit 97af16e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class ClassicTechniqueWriter(basePath : String, parameterTypeService: ParameterT

val content =
s"""# @name ${technique.name}
|# @description ${technique.description}
|# @description ${technique.description.replaceAll("\\R", "\n# ")}
|# @version ${technique.version.value}
|${technique.parameters.map(p =>s"""# @parameter { "name": "${p.name.value}", "id": "${p.id.value}" }""" ).mkString("\n")}
|
Expand Down

0 comments on commit 97af16e

Please sign in to comment.