Skip to content

Commit 06f90d1

Browse files
committed
update random-access-memory and standard; fix for new linter rules
1 parent 3114e2c commit 06f90d1

6 files changed

Lines changed: 1862 additions & 1999 deletions

File tree

lib/utils.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,14 @@ function keyIsNotAObject (tripleKey) {
114114
return typeof tripleKey !== 'object'
115115
}
116116

117-
function not (fn) {
118-
return (...args) => !fn(...args)
119-
}
120-
121117
function keyIsAVariable (tripleKey) {
122118
return tripleKey instanceof Variable
123119
}
124120

125121
function extraDataMask (obj) {
126122
return Object.keys(obj)
127123
.reduce((prev, key) => {
128-
if(!keyIsAVariable(obj[key]) && !hasKey(key)) prev[key] = obj[key]
124+
if (!keyIsAVariable(obj[key]) && !hasKey(key)) prev[key] = obj[key]
129125
return prev
130126
}, {})
131127
}

0 commit comments

Comments
 (0)