reimplement fix for smushed keys

This commit is contained in:
Jamie V 2023-09-12 13:53:21 -07:00
parent 59ae7cddc5
commit 798eb4444d

View File

@ -57,7 +57,9 @@ define([
if (isIdentifier(keyString)) { if (isIdentifier(keyString)) {
// TODO REMOVE FOR OMM-RELEASE-5.0 // TODO REMOVE FOR OMM-RELEASE-5.0
if (!keyString.namespace && keyString.key.includes(':')) { if (!keyString.namespace && keyString.key.includes(':')) {
console.error(`smushed key: ${keyString.key}`); console.warn(`smushed key: ${keyString.key}`);
return parseKeyString(keyString.key);
} }
return keyString; return keyString;