Commit 3f025e0d authored by Dan Rubel's avatar Dan Rubel Committed by GitHub

remove ignore unawaited_future comments (#5959)

parent 9f5eeb1b
...@@ -34,7 +34,6 @@ Future<Map<String, dynamic>> runTask(String taskName) async { ...@@ -34,7 +34,6 @@ Future<Map<String, dynamic>> runTask(String taskName) async {
bool runnerFinished = false; bool runnerFinished = false;
// ignore: unawaited_futures
runner.exitCode.then((_) { runner.exitCode.then((_) {
runnerFinished = true; runnerFinished = true;
}); });
......
...@@ -166,7 +166,6 @@ Future<Process> startProcess(String executable, List<String> arguments, ...@@ -166,7 +166,6 @@ Future<Process> startProcess(String executable, List<String> arguments,
ProcessInfo procInfo = new ProcessInfo(command, proc); ProcessInfo procInfo = new ProcessInfo(command, proc);
_runningProcesses.add(procInfo); _runningProcesses.add(procInfo);
// ignore: unawaited_futures
proc.exitCode.then((_) { proc.exitCode.then((_) {
_runningProcesses.remove(procInfo); _runningProcesses.remove(procInfo);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment