Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1324

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

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

      mongosh’s single-line history functionality converts

      console.log(`a
      b`) 

      into

      console.log(`a b`) 

      which is a different string.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: