From f8bc6c2d9962ee9a4217df7bf30ce78c319df4b0 Mon Sep 17 00:00:00 2001 From: build-token <build-token> Date: Thu, 3 Aug 2023 14:51:37 +0000 Subject: [PATCH] publish: fifth generated from commit 2c2464fa111447019801edc548acea7e89cfacb8 --- index.js | 7 ++++--- onDeleteAccount.js | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 44cdb63..ae4781e 100644 --- a/index.js +++ b/index.js @@ -229250,11 +229250,12 @@ function removeMultipleSpaces(str) { * This regular expression matches one or more consecutive dots * and then in the replacement function, it checks if the dots are surrounded by non-dot characters. * If so, it replaces them with a space; otherwise, it removes them + * @example * console.log(removeDots(".....03G2")); // Outputs: "03G2" * console.log(removeDots("....ETG..4...D")); // Outputs: "ETG 4 D" * console.log(removeDots("ETG 4 D")); // Outputs: "ETG 4 D" - * @param {string} input - * @returns {string} + * @param {string} input - The input string containing dots to be removed. + * @returns {string} The input string without dots. */ function removeDots(input) { return input.replace(/\.+/g, (match, offset, string) => { @@ -247496,7 +247497,7 @@ async function verifyUserIdentity( // Fifth try, remove address number and add escalierEtEtageEtAppartement if (!pdl) { - log('warn', 'Fourth try onboarding for sge') + log('warn', 'Fifth try onboarding for sge') pdl = await findUserPdl( `${baseUrl}/enedis_SDE_recherche-point/1.0`, apiAuthKey, diff --git a/onDeleteAccount.js b/onDeleteAccount.js index b94d264..71e230d 100644 --- a/onDeleteAccount.js +++ b/onDeleteAccount.js @@ -228483,11 +228483,12 @@ function removeMultipleSpaces(str) { * This regular expression matches one or more consecutive dots * and then in the replacement function, it checks if the dots are surrounded by non-dot characters. * If so, it replaces them with a space; otherwise, it removes them + * @example * console.log(removeDots(".....03G2")); // Outputs: "03G2" * console.log(removeDots("....ETG..4...D")); // Outputs: "ETG 4 D" * console.log(removeDots("ETG 4 D")); // Outputs: "ETG 4 D" - * @param {string} input - * @returns {string} + * @param {string} input - The input string containing dots to be removed. + * @returns {string} The input string without dots. */ function removeDots(input) { return input.replace(/\.+/g, (match, offset, string) => { -- GitLab