Fix lint error

This commit is contained in:
Jos de Jong 2020-09-23 15:49:44 +02:00
parent e35e39ff2f
commit 8eb4819d0e
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ export class Node {
if (typeof editable.field === 'boolean') this.editable.field = editable.field
if (typeof editable.value === 'boolean') this.editable.value = editable.value
} else {
console.error( 'Invalid return value for function onEditable. ' +
console.error(
'Invalid return value for function onEditable.',
'Actual value:', editable, '.',
'Either a boolean or object { field: boolean, value: boolean } expected.')