Skip to content

Commit

Permalink
[compile-nools-rules] Remove duplicate definition of createTargetInst…
Browse files Browse the repository at this point in the history
…ance
  • Loading branch information
alxndrsn committed Jun 25, 2018
1 parent 8de2c9b commit ea416ad
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/lib/compile-nools-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,6 @@ function compileWithDefaultLayout(projectDir) {
});
}
function createTargetInstance(type, doc, pass) {
return new Target({
_id: doc._id + '-' + type,
deleted: !!doc.deleted,
type: type,
pass: pass,
date: doc.reported_date
});
}
function emitTargetInstance(i) {
emit('target', i);
}
Expand Down

0 comments on commit ea416ad

Please sign in to comment.