-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash on CSS @import with variable name
Follows-up a1173e7 (I8220cd808f), which introduced this crash by evaluating import nodes much earlier but lacking a try-catch for cases that don't need to be compiled by LESS. We missed this in CI because the upstream urls.less is disabled pending T353147. Follows-up e7ed93f (Iddd8e41137), which regressed path compilation such that it outputs filesystem paths where URLs are expected. Bug: T361035 Change-Id: I302e7527c2b72eebbc26f85fa0ff2f54b5988abc
- Loading branch information
Showing
4 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@import "test.css"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.add_an_import(@file_to_import) { | ||
@import "@{file_to_import}"; | ||
} | ||
|
||
.add_an_import("test.css"); |