From 21e041e9ccacddaa5d58626f82b42b27c61eaa7d Mon Sep 17 00:00:00 2001 From: Alexander Cerutti Date: Sun, 10 Oct 2021 02:27:25 +0200 Subject: [PATCH] Removed useless else --- src/PKPass.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/PKPass.ts b/src/PKPass.ts index c4b0c7e..891e5c5 100644 --- a/src/PKPass.ts +++ b/src/PKPass.ts @@ -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;