From d62de053399c49571e9ce731ab5bbe2b17a02be3 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Thu, 4 Jan 2024 09:48:34 +0000 Subject: [PATCH] Fixed null-handling in the `IDENTITY` path parser --- src/utils/actions/action-parameter-path-parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/actions/action-parameter-path-parser.ts b/src/utils/actions/action-parameter-path-parser.ts index 53fa4cc..1fb028a 100644 --- a/src/utils/actions/action-parameter-path-parser.ts +++ b/src/utils/actions/action-parameter-path-parser.ts @@ -26,7 +26,7 @@ export interface ActionParameterPathParser { * * @returns An array containing a single element, which is the name of the parameter. */ -export const IDENTITY_ACTION_PARAMETER_PATH_PARSER: ActionParameterPathParser = name => [name]; +export const IDENTITY_ACTION_PARAMETER_PATH_PARSER: ActionParameterPathParser = name => [name || ""]; /** * Splits the parameter name by non-letter and non-number characters, converts each word to lowercase,