#1420 Revert undefined name variable resolution

This commit is contained in:
Cohee 2023-12-01 11:51:10 +02:00
parent 778bca01f3
commit ca24e550a8

View File

@ -95,10 +95,6 @@ function decrementGlobalVariable(name) {
* @returns {string} Variable value or the string literal * @returns {string} Variable value or the string literal
*/ */
export function resolveVariable(name) { export function resolveVariable(name) {
if (name === undefined) {
return '';
}
if (existsLocalVariable(name)) { if (existsLocalVariable(name)) {
return getLocalVariable(name); return getLocalVariable(name);
} }