File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
packages/dart_frog_cli/lib/src/commands/dev Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
import 'dart:convert' ;
2
2
import 'dart:io' as io;
3
- import 'dart:io' ;
4
3
5
4
import 'package:dart_frog_cli/src/command.dart' ;
6
5
import 'package:dart_frog_cli/src/commands/commands.dart' ;
@@ -33,7 +32,7 @@ typedef Exit = dynamic Function(int exitCode);
33
32
RestorableDirectoryGeneratorTarget get _defaultGeneratorTarget {
34
33
return RestorableDirectoryGeneratorTarget (
35
34
io.Directory (
36
- path.join (Directory .current.path, '.dart_frog' ),
35
+ path.join (io. Directory .current.path, '.dart_frog' ),
37
36
),
38
37
);
39
38
}
@@ -87,7 +86,7 @@ class DevCommand extends DartFrogCommand {
87
86
@override
88
87
Future <int > run () async {
89
88
var hotReloadEnabled = false ;
90
- final port = Platform .environment['PORT' ] ?? results['port' ] as String ;
89
+ final port = io. Platform .environment['PORT' ] ?? results['port' ] as String ;
91
90
final generator = await _generator (dartFrogDevServerBundle);
92
91
93
92
Future <void > codegen () async {
@@ -161,7 +160,7 @@ class DevCommand extends DartFrogCommand {
161
160
return ExitCode .success.code;
162
161
}
163
162
164
- Future <void > _killProcess (Process process) async {
163
+ Future <void > _killProcess (io. Process process) async {
165
164
process.kill ();
166
165
if (_isWindows) {
167
166
final result = await _runProcess (
You can’t perform that action at this time.
0 commit comments