Add missing parentheses for arrow func arg

Our lint tests expect this when an arrow functino has a body with
curly braces.
This commit is contained in:
Samuel Mannehed 2019-07-23 16:12:22 +02:00 committed by Lauri Kasanen
parent 54253efaa0
commit 03a333fb18

View File

@ -86,7 +86,7 @@ const UI = {
.then((packageInfo) => {
Array.from(document.getElementsByClassName('noVNC_version')).forEach(el => el.innerText = packageInfo.version);
})
.catch(err => {
.catch((err) => {
Log.Error("Couldn't fetch package.json: " + err);
Array.from(document.getElementsByClassName('noVNC_version_wrapper'))
.concat(Array.from(document.getElementsByClassName('noVNC_version_separator')))