Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ElessarST committed Dec 23, 2021
1 parent 0bd6283 commit 2addf66
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,14 @@ class ExampleState with ChangeNotifier {
if (example.isInfoFetched()) {
return example;
}
String source = await getExampleSource(example.path, sdk);
example.setSource(source);
final outputs = await getExampleOutput(example.path, sdk);
example.setOutputs(outputs);
final exampleData = await Future.wait([
getExampleSource(example.path, sdk),
getExampleOutput(example.path, sdk),
getExampleLogs(example.path, sdk)
]);
example.setSource(exampleData[0]);
example.setOutputs(exampleData[1]);
example.setLogs(exampleData[2]);
return example;
}

Expand Down

0 comments on commit 2addf66

Please sign in to comment.