Skip to content

Commit

Permalink
Fix curly brace linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
odurbalau committed Aug 12, 2020
1 parent 654c993 commit e995021
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ export function deepCopy (target) {

export function extend (destination, ...args) {
args.forEach(source => {
if (source)
{
if (source) {
Object.keys(source).forEach(property => {
if (source[property] && isPlainObject(source[property])) {
if (!hasOwnProperty(destination, property)) destination[property] = {}
Expand Down

0 comments on commit e995021

Please sign in to comment.