added unawaited function for devicelab and turned on unawaited_futures linter#82833
Conversation
c6e3c90 to
0416b70
Compare
dev/devicelab/bin/run.dart
Outdated
There was a problem hiding this comment.
This should probably have an await.
There was a problem hiding this comment.
This can use writeAsStringSync
There was a problem hiding this comment.
This should probably have an await.
There was a problem hiding this comment.
you could return the future from task, i think technically this might be fine since the test runner sets up some handlers to detect the test starting
There was a problem hiding this comment.
This should probably have an await.
There was a problem hiding this comment.
I would make addPlugin sync instead
There was a problem hiding this comment.
this can be done by updating the writeAsString call
There was a problem hiding this comment.
This should probably have an await.
There was a problem hiding this comment.
This should probably have an await.
There was a problem hiding this comment.
This should probably have an await.
There was a problem hiding this comment.
This should probably have an await.
There was a problem hiding this comment.
This should probably have an await.
There was a problem hiding this comment.
This should probably have an await.
0416b70 to
b367a32
Compare
|
@zanderso @jonahwilliams I'm not sure if we just want to make this PR a refactor. I marked down the places I thought we might want to actually |
86d3aa3 to
b367a32
Compare
|
@jonahwilliams @zanderso I authored a new PR that migrates the unawaited calls in the cases we've identified here: #82839 I'll keep the PR's separate so that this one is just a straight refactor with no logical changes. |
|
Works for me! |
b367a32 to
272070b
Compare
fixes #82829
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.