File tree 2 files changed +3
-10
lines changed
2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,7 @@ import 'package:test_core/src/platform.dart' as hack
24
24
import '../tizen_cache.dart' ;
25
25
import '../tizen_plugins.dart' ;
26
26
27
- class TizenTestCommand extends TestCommand
28
- with DartPluginRegistry , TizenRequiredArtifacts {
27
+ class TizenTestCommand extends TestCommand with TizenRequiredArtifacts {
29
28
TizenTestCommand ({
30
29
bool verboseHelp = false ,
31
30
TestWrapper testWrapper = const TestWrapper (),
@@ -68,11 +67,8 @@ class TizenTestWrapper implements TestWrapper {
68
67
69
68
// Keep this logic in sync with _generateEntrypointWithPluginRegistrant
70
69
// in tizen_plugins.dart.
71
- final File packagesFile = project.directory
72
- .childDirectory ('.dart_tool' )
73
- .childFile ('package_config.json' );
74
70
final PackageConfig packageConfig = await loadPackageConfigWithLogging (
75
- packagesFile ,
71
+ project.packageConfigFile ,
76
72
logger: globals.logger,
77
73
);
78
74
final Directory runnerDir = globals.fs.systemTempDirectory.createTempSync ();
Original file line number Diff line number Diff line change @@ -161,11 +161,8 @@ Future<void> _generateEntrypointWithPluginRegistrant(
161
161
File mainFile,
162
162
File newMainFile,
163
163
) async {
164
- final File packagesFile = project.directory
165
- .childDirectory ('.dart_tool' )
166
- .childFile ('package_config.json' );
167
164
final PackageConfig packageConfig = await loadPackageConfigWithLogging (
168
- packagesFile ,
165
+ project.packageConfigFile ,
169
166
logger: globals.logger,
170
167
);
171
168
final Uri mainFileUri = mainFile.absolute.uri;
You can’t perform that action at this time.
0 commit comments