src/schemas/Import.js
Function advance
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
advance(callback) {
this.find(
{
state: {
$nin: ["completed", "error"],
Function advance
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
advance(callback) {
const state = this.getCurState();
const nextState = this.getNextState();
if (!this.canAdvance()) {