Rename util function to be more descriptive. Refactor parameters to remove unused code.

This commit is contained in:
Karishma Chadha committed 2019-02-04 19:05:28 -05:00
1 parent 7faddb6c8f
commit d91c19434f
3 files changed
+6 -7

No files matched your search

+1 -1
View File
@@ -1160,7 +1160,7 @@ const replaceUnsafeCharsInVariableIds = function (targets) {
// We're calling this on the stage target because we need a
// target to call on but this shouldn't matter because we're passing
// in all the varRefs we want to operate on
VariableUtil.mergeVariables(id, newId, allVarRefs);
VariableUtil.updateVariableIdentifiers(allVarRefs[id], newId);
}
return targets;
};