未验证 提交 5b6ce8d7 编写于 作者: A Alexander Aprelev 提交者: GitHub

Remove workaround for handling of relative paths (#4673)

上级 902817b2
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册