db/Pad.js: removed unreachable return statement

Found by the Typescript compiler when doing an experimental conversion.
pull/3587/head
muxator 2019-03-27 00:11:36 +01:00 committed by muxator
parent 4040813447
commit b9e537ca4f
1 changed files with 0 additions and 2 deletions

View File

@ -393,8 +393,6 @@ Pad.prototype.copy = async function copy(destinationID, force) {
if (!force) {
console.error("erroring out without force");
throw new customError("destinationID already exists", "apierror");
return;
}
// exists and forcing