Unverified Commit 66f4e5d9 authored by Johannes Kirschbauer's avatar Johannes Kirschbauer
Browse files

Revert "lib/strings.concatLines: call concatStringsSep directly"

This reverts commit d7e6988c.
parent d5a81777
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -337,6 +337,7 @@ rec {

  /**
    Concatenate a list of strings, adding a newline at the end of each one.
    Defined as `concatMapStrings (s: s + "\n")`.

    # Inputs

@@ -360,7 +361,7 @@ rec {

    :::
  */
  concatLines = str: concatStringsSep "\n" str + "\n";
  concatLines = concatMapStrings (s: s + "\n");

  /**
    Given string `s`, replace every occurrence of the string `from` with the string `to`.