| Index: pkg/stack_trace/lib/src/frame.dart
|
| diff --git a/pkg/stack_trace/lib/src/frame.dart b/pkg/stack_trace/lib/src/frame.dart
|
| index fdf4fe0d538b61e5110bcab3f21aa029a3be3b69..5f0777c16188d990b16daae0bd4817187cfc8244 100644
|
| --- a/pkg/stack_trace/lib/src/frame.dart
|
| +++ b/pkg/stack_trace/lib/src/frame.dart
|
| @@ -9,6 +9,7 @@ import 'dart:uri';
|
| import 'package:pathos/path.dart' as path;
|
|
|
| import 'trace.dart';
|
| +import 'utils.dart';
|
|
|
| final _nativeFrameRegExp = new RegExp(
|
| r'^#\d+\s+([^\s].*) \((.+):(\d+):(\d+)\)$');
|
| @@ -42,7 +43,7 @@ class Frame {
|
| String get library {
|
| // TODO(nweiz): handle relative URIs here as well once pathos supports that.
|
| if (uri.scheme != 'file') return uri.toString();
|
| - return path.relative(uri.path);
|
| + return path.relative(fileUriToPath(uri));
|
| }
|
|
|
| /// A human-friendly description of the code location.
|
|
|