mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-27 04:34:59 +01:00
Remove an additional Dart 2-ism
This commit is contained in:
parent
0fb5d25ee2
commit
94c0968b53
@ -20,7 +20,7 @@ String resolveImportPath(String path) {
|
|||||||
|
|
||||||
/// Like [_tryPath], but checks both `.sass` and `.scss` extensions.
|
/// Like [_tryPath], but checks both `.sass` and `.scss` extensions.
|
||||||
List<String> _tryPathWithExtensions(String path) =>
|
List<String> _tryPathWithExtensions(String path) =>
|
||||||
_tryPath(path + '.sass') + _tryPath(path + '.scss');
|
_tryPath(path + '.sass')..addAll(_tryPath(path + '.scss'));
|
||||||
|
|
||||||
/// Returns the [path] and/or the partial with the same name, if either or both
|
/// Returns the [path] and/or the partial with the same name, if either or both
|
||||||
/// exists.
|
/// exists.
|
||||||
|
Loading…
Reference in New Issue
Block a user