Removed useless else

This commit is contained in:
Alexander Cerutti
2021-10-10 02:27:25 +02:00
parent ae475b9da2
commit 21e041e9cc

View File

@@ -462,10 +462,6 @@ export default class PKPass extends Bundle {
console.warn(
"Cannot find a valid type in pass.json. You won't be able to set fields until you won't set explicitly one.",
);
} else {
console.warn(
"Cannot find a new valid type in pass.json. Fields have not been resetted.",
);
}
} else {
this.type = type;