Skip to content
Snippets Groups Projects
Commit 2477f210 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Throw fewer exceptions when passed null or undefined as parameters

Some scripts (e.g. addfiles.js) depend on the previous (undocumented) behavior
for some methods, e.g. lfexpand(undefined) would return undefined.

So for global functions that are expected to return a modified version of the
value passed (usually a string), return null or undefined when passed null or
undefined. Backward compatibility is more important than consistency in this
case. :-(
parent f41de9a1
No related branches found
No related tags found
No related merge requests found
Pipeline #7860 failed