mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-26 20:24:42 +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.
|
||||
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
|
||||
/// exists.
|
||||
|
Loading…
Reference in New Issue
Block a user