migrations/1452447841025-make-image-models.js
Function loadImages
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const loadImages = (callback) => {
models("Artwork").find({}, {}, {timeout: true}).stream()
.on("data", function(artwork) {
this.pause();
TODO found Open
Open
// TODO: Update syncSimilarity to get the true image ID
- Exclude checks