Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 1712181

Browse files
author
Aaron Leung
committed
Fixing the same oversight in the master branch.
1 parent f7c3321 commit 1712181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval_apply.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ namespace Sass {
178178
} break;
179179

180180
case Node::list: {
181-
if (expr.should_eval()) expr[0] = eval(expr[0], prefix, env, f_env, new_Node, ctx);
181+
if (expr.should_eval() && expr.size() > 0) expr[0] = eval(expr[0], prefix, env, f_env, new_Node, ctx);
182182
return expr;
183183
} break;
184184

0 commit comments

Comments
 (0)