Skip to content

Commit 59dcc9a

Browse files
committed
Merge branch 'lovell-replace-lodash-omit'
2 parents f7008fd + 4430a12 commit 59dcc9a

File tree

3 files changed

+264
-121
lines changed

3 files changed

+264
-121
lines changed

lib/transform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
const arrayify = require('array-back')
2-
const omit = require('lodash.omit')
32
const findReplace = require('find-replace')
43

54
function pick (object, keys) {
@@ -258,7 +257,8 @@ function cleanProperties (doclet) {
258257
}
259258

260259
function wantedProperties (input) {
261-
return omit(input, ['comment', 'meta', 'undocumented', '___id', '___s'])
260+
const { comment, meta, undocumented, ___id, ___s, ...wanted } = input
261+
return wanted
262262
}
263263

264264
function buildTodoList (doclet) {

0 commit comments

Comments
 (0)