refacktor · GitHub

I'm not sure if this is a bug or a feature request.

Stack Trace:

Exception class=[net.sourceforge.htmlunit.corejs.javascript.EvaluatorException]
com.gargoylesoftware.htmlunit.ScriptException: unterminated string literal (http://localhost/agent/clientlibs/scripts/ho
me-table.js#30)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:949)
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:619)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:537)
	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory.callSecured(HtmlUnitContextFactory.java:353)

The js file it's complaining about looks like this:

				render: (data, type, row, meta) => {
					return `<div>                           // <=== this is line 30
			            <i class="user-id">ID: ${row.userId}</i>
                                      ... `; }

Read the original on github.com ↗