Skip to content

Commit

Permalink
Use Uri.file expecting filepath (flutter#4646)
Browse files Browse the repository at this point in the history
  • Loading branch information
aam authored Feb 7, 2018
1 parent 32c241d commit d5259d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend_server/lib/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class _FrontendCompiler implements CompilerInterface {
if (options['incremental']) {
_entryPoint = filenameUri;
_compilerOptions = compilerOptions;
_generator = generator ?? _createGenerator(Uri.base.resolve(_kernelBinaryFilenameFull));
_generator = generator ?? _createGenerator(new Uri.file(_kernelBinaryFilenameFull));
await invalidateIfBootstrapping();
program = await _runWithPrintRedirection(() => _generator.computeDelta());
} else {
Expand Down Expand Up @@ -260,7 +260,7 @@ class _FrontendCompiler implements CompilerInterface {

@override
void resetIncrementalCompiler() {
_generator = _createGenerator(Uri.base.resolve(_kernelBinaryFilenameFull));
_generator = _createGenerator(new Uri.file(_kernelBinaryFilenameFull));
_kernelBinaryFilename = _kernelBinaryFilenameFull;
}

Expand Down

0 comments on commit d5259d3

Please sign in to comment.