db/Pad.js: removed unreachable return statement
Found by the Typescript compiler when doing an experimental conversion.pull/3587/head
parent
4040813447
commit
b9e537ca4f
|
@ -393,8 +393,6 @@ Pad.prototype.copy = async function copy(destinationID, force) {
|
||||||
if (!force) {
|
if (!force) {
|
||||||
console.error("erroring out without force");
|
console.error("erroring out without force");
|
||||||
throw new customError("destinationID already exists", "apierror");
|
throw new customError("destinationID already exists", "apierror");
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// exists and forcing
|
// exists and forcing
|
||||||
|
|
Loading…
Reference in New Issue