From b5ce3f497ef7795782f312fca052fe145dc0580b Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Mon, 7 Feb 2022 05:53:40 +0000 Subject: [PATCH] Fix lint errors --- .../Tdarr_Plugin_henk_Keep_Native_Lang_Plus_Eng.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Community/Tdarr_Plugin_henk_Keep_Native_Lang_Plus_Eng.js b/Community/Tdarr_Plugin_henk_Keep_Native_Lang_Plus_Eng.js index ac38e7a..1b91c5d 100644 --- a/Community/Tdarr_Plugin_henk_Keep_Native_Lang_Plus_Eng.js +++ b/Community/Tdarr_Plugin_henk_Keep_Native_Lang_Plus_Eng.js @@ -108,16 +108,16 @@ const processStreams = (result, file, user_langs) => { }; let streamIndex = 0; - //If the original language is pulled as Chinese 'cn' is used. iso-language expects 'zh' for Chinese. + // If the original language is pulled as Chinese 'cn' is used. iso-language expects 'zh' for Chinese. const langsTemp = result.original_language === 'cn' ? 'zh' : result.original_language; - + let langs = []; langs.push(languages.alpha2ToAlpha3B(langsTemp)); - - //Some console reporting for clarification of what the plugin is using and reporting. + + // Some console reporting for clarification of what the plugin is using and reporting. response.infoLog += `Original language: ${langsTemp}, Using code: ${languages.alpha2ToAlpha3B(langsTemp)}\n`; - + if (user_langs) { langs = langs.concat(user_langs); }