Remove an additional Dart 2-ism

This commit is contained in:
Natalie Weizenbaum 2018-05-31 14:21:10 -04:00
parent 0fb5d25ee2
commit 94c0968b53

View File

@ -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.