Skip to content

Commit

Permalink
Remove workaround for handling of relative paths (flutter#4673)
Browse files Browse the repository at this point in the history
  • Loading branch information
aam authored Feb 14, 2018
1 parent 902817b commit 5b6ce8d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions frontend_server/lib/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -358,13 +358,6 @@ Future<int> starter(
);
input ??= stdin;

// Has to be a directory, that won't have any of the compiled application
// sources, so that no relative paths could show up in the kernel file.
Directory.current = Directory.systemTemp;
final Directory workingDirectory = new Directory('flutter_frontend_server');
workingDirectory.createSync();
Directory.current = workingDirectory;

if (options.rest.isNotEmpty) {
await compiler.compile(options.rest[0], options, generator: generator);
return 0;
Expand Down

0 comments on commit 5b6ce8d

Please sign in to comment.