Fix an analysis hint

This commit is contained in:
Natalie Weizenbaum 2021-01-11 17:04:00 -08:00
parent 647fc45fcf
commit 0b877a127d

View File

@ -29,7 +29,7 @@ Future<void> updateBazel() async {
} on ProcessException catch (error) { } on ProcessException catch (error) {
if (error.stderr.contains("Couldn't find any versions for \"sass\"")) { if (error.stderr.contains("Couldn't find any versions for \"sass\"")) {
log("The new sass version doesn't seem to be available yet, waiting 10s..."); log("The new sass version doesn't seem to be available yet, waiting 10s...");
await Future.delayed(Duration(seconds: 10)); await Future<void>.delayed(Duration(seconds: 10));
run("yarn", workingDirectory: p.join(repo, "sass")); run("yarn", workingDirectory: p.join(repo, "sass"));
} }
} }