mongosh single-line history does not account properly for multiline template strings

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.6.1
    • Affects Version/s: None
    • Component/s: History
    • None
    • 2
    • Iteration Octopus
    • Not Needed

      mongosh’s single-line history functionality converts

      console.log(`a
      b`) 

      into

      console.log(`a b`) 

      which is a different string.

            Assignee:
            Anna Henningsen
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: