Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Monster
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Javascript
Monster
Commits
42091270
Verified
Commit
42091270
authored
2 years ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
fix: add empty strings
parent
52ccff35
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/source/data/transformer.mjs
+2
-1
2 additions, 1 deletion
application/source/data/transformer.mjs
with
2 additions
and
1 deletion
application/source/data/transformer.mjs
+
2
−
1
View file @
42091270
...
@@ -406,6 +406,7 @@ function transform(value) {
...
@@ -406,6 +406,7 @@ function transform(value) {
throw
new
Error
(
"
missing key parameter
"
);
throw
new
Error
(
"
missing key parameter
"
);
}
}
// add empty strings
if
(
isString
(
key
)
&&
key
.
trim
()
===
""
)
{
if
(
isString
(
key
)
&&
key
.
trim
()
===
""
)
{
concat
+=
key
;
concat
+=
key
;
continue
;
continue
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment