#1420 Revert undefined name variable resolution
This commit is contained in:
parent
778bca01f3
commit
ca24e550a8
|
@ -95,10 +95,6 @@ function decrementGlobalVariable(name) {
|
|||
* @returns {string} Variable value or the string literal
|
||||
*/
|
||||
export function resolveVariable(name) {
|
||||
if (name === undefined) {
|
||||
return '';
|
||||
}
|
||||
|
||||
if (existsLocalVariable(name)) {
|
||||
return getLocalVariable(name);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue