mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-21 16:00:59 -05:00
Fixed null-handling in the IDENTITY
path parser
This commit is contained in:
parent
c6583524f5
commit
d62de05339
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue