From d4474ea77a2fc7d510fdc2645aac8b761195fc7e Mon Sep 17 00:00:00 2001 From: housamz Date: Thu, 22 Aug 2024 16:32:56 +0100 Subject: [PATCH] Fixing converter by dropping ? from the array --- src/js/converter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/converter.ts b/src/js/converter.ts index 7baf77f..40d225b 100644 --- a/src/js/converter.ts +++ b/src/js/converter.ts @@ -295,7 +295,7 @@ class LinkedInToJsonResume { }); // Sort the skills by level - this.target.skills?.sort((a, b) => { + this.target.skills.sort((a, b) => { return b.level - a.level; }); }