File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,18 @@ function todo($target, $message) {
1010 $message = "This requires manual intervention."
1111 },
1212 $lines = lines(string = $message),
13+ $result = [],
1314 $lines <: some bubble($result) $x where {
14- if ($result <: undefined ) {
15- $result = `# TODO: $x`
15+ if ($result <: [] ) {
16+ $result + = `# TODO: $x`
1617 } else {
17- $result += `\n # $x`
18+ $result += `# $x`
1819 }
1920 },
2021 $log_message = `TODO: $message`,
2122 log(message=$log_message, variable=$target),
2223 $lines = lines(string = $target),
23- $lines <: some bubble($result) $x where { $result += `\n# $x` },
24+ $lines <: some bubble($result) $x where { $result += `# $x` },
25+ $result = join(list=$result, separator=`\n`),
2426 return $result,
2527}
You can’t perform that action at this time.
0 commit comments