File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -467,9 +467,10 @@ namespace Sass {
467
467
if (it != current->varIdxs .end ()) {
468
468
ExpressionObj& value = root.getVariable ({
469
469
current->frame , it->second });
470
- if (value.isNull ()) continue ;
471
- value = val;
472
- return ;
470
+ if (!value.isNull ()) {
471
+ value = val;
472
+ return ;
473
+ }
473
474
}
474
475
if (current->transparent ) {
475
476
idx = idx - 1 ;
@@ -500,9 +501,10 @@ namespace Sass {
500
501
if (it != current->varIdxs .end ()) {
501
502
ExpressionObj& value = root.getVariable ({
502
503
current->frame , it->second });
503
- if (value.isNull ()) continue ;
504
- value = val;
505
- return ;
504
+ if (!value.isNull ()) {
505
+ value = val;
506
+ return ;
507
+ }
506
508
}
507
509
if (current->parent == std::string::npos) return ;
508
510
current = root.idxs [current->parent ];
You can’t perform that action at this time.
0 commit comments