Skip to content

Commit

Permalink
Fix typo (dart-lang/path#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihiron authored Jul 18, 2022
1 parent aa2f7da commit d5a0af5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkgs/path/lib/path.dart
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ bool isRootRelative(String path) => context.isRootRelative(path);
/// If any part ends in a path separator, then a redundant separator will not
/// be added:
///
/// p.join('path/', 'to', 'foo'); // -> 'path/to/foo
/// p.join('path/', 'to', 'foo'); // -> 'path/to/foo'
///
/// If a part is an absolute path, then anything before that will be ignored:
///
Expand All @@ -272,7 +272,7 @@ String join(String part1,
/// If any part ends in a path separator, then a redundant separator will not
/// be added:
///
/// p.joinAll(['path/', 'to', 'foo']); // -> 'path/to/foo
/// p.joinAll(['path/', 'to', 'foo']); // -> 'path/to/foo'
///
/// If a part is an absolute path, then anything before that will be ignored:
///
Expand Down
4 changes: 2 additions & 2 deletions pkgs/path/lib/src/context.dart
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class Context {
/// If any part ends in a path separator, then a redundant separator will not
/// be added:
///
/// context.join('path/', 'to', 'foo'); // -> 'path/to/foo
/// context.join('path/', 'to', 'foo'); // -> 'path/to/foo'
///
/// If a part is an absolute path, then anything before that will be ignored:
///
Expand Down Expand Up @@ -250,7 +250,7 @@ class Context {
/// If any part ends in a path separator, then a redundant separator will not
/// be added:
///
/// context.joinAll(['path/', 'to', 'foo']); // -> 'path/to/foo
/// context.joinAll(['path/', 'to', 'foo']); // -> 'path/to/foo'
///
/// If a part is an absolute path, then anything before that will be ignored:
///
Expand Down

0 comments on commit d5a0af5

Please sign in to comment.