migrate from slow async io calls (#39515)
* migrate from slow async io calls
This commit is contained in:
@@ -122,7 +122,7 @@ TaskFunction createBasicMaterialCompileTest() {
|
||||
await flutter('create', options: <String>['--template=app', sampleAppName]);
|
||||
});
|
||||
|
||||
if (!(await sampleDir.exists()))
|
||||
if (!sampleDir.existsSync())
|
||||
throw 'Failed to create default Flutter app in ${sampleDir.path}';
|
||||
|
||||
return CompileTest(sampleDir.path).run();
|
||||
|
||||
Reference in New Issue
Block a user