Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-98522

SConscript files incorrectly testing jsEngine value

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Build
    • ALL

      jsEngine may have values 'mozjs' or 'none'.
      SERVER-57711 updates tests of this value to be boolean cheaks (e.g. `if jsEngine:`), however a boolean cast on the string `none` will result in a Truthy value (since "none" is not an empty string).

      These callsites should be modified to `if jsEngine != "none":`

            Assignee:
            Unassigned Unassigned
            Reporter:
            sara.golemon@mongodb.com Sara Golemon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: