enable lint prefer_single_quotes (#12665)

This commit is contained in:
Alexandre Ardhuin
2017-10-22 18:11:36 +02:00
committed by GitHub
parent b07ea41954
commit 1fce14a31c
90 changed files with 664 additions and 663 deletions

View File

@@ -57,7 +57,7 @@ String expandTemplate(String template, Map<String, String> values) {
if (match.groupCount != 1)
throw new SampleError('bad template keyword $match[0]');
final String keyword = match[1];
return (values[keyword] ?? "");
return (values[keyword] ?? '');
});
}