src/utils/index.js
function finish(err) {
      if (!calledDone) {
        calledDone = true;
        exports.finalize(err, resolve, reject);
      }
    }
function finish(err) {
      if (!calledDone) {
        calledDone = true;
        exports.finalize(err, resolve, reject);
      }
    }
function finish ( err ) { if ( ! calledDone ) { calledDone = true ; exports . finalize ( err , resolve , reject ) ; } }
Exit helper so we don't call "cb" more than once
Exit helper so we don t call cb more than once