Skip to content

Commit b9e537c

Browse files
committed
db/Pad.js: removed unreachable return statement
Found by the Typescript compiler when doing an experimental conversion.
1 parent 4040813 commit b9e537c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/node/db/Pad.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,6 @@ Pad.prototype.copy = async function copy(destinationID, force) {
393393
if (!force) {
394394
console.error("erroring out without force");
395395
throw new customError("destinationID already exists", "apierror");
396-
397-
return;
398396
}
399397

400398
// exists and forcing

0 commit comments

Comments
 (0)