Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
(err, results): void => {
if (err) {
reject(err);
return;
}
if (!results.length) {
reject(new NotFoundError());
return;
}
resolve(results.map(this._formatRow));
}
);
return new Promise((_resolve, reject) => {
reject(new UnimplementedError(`revision range ${startRevision} - ${endRevision}`));
});
};