Fix string detection in Js::Returns.
Because the EsprimaAdapter gives a string value to regex literals, which is different from nil received from Esprima itself, we'll have to check first for regex and after that for string.
Loading
Please register or sign in to comment