Index: utils/pub/io.dart |
diff --git a/utils/pub/io.dart b/utils/pub/io.dart |
index 859edb30683ee97da62e32911e9164f346c5fb86..ebae2e62775134c513c3121ba737ab24ea6b47f4 100644 |
--- a/utils/pub/io.dart |
+++ b/utils/pub/io.dart |
@@ -50,7 +50,7 @@ String join(part1, [part2, part3, part4]) { |
/// Gets the basename, the file name without any leading directory path, for |
/// [file], which can either be a [String], [File], or [Directory]. |
-String basename(file) => path.filename(_getPath(file)); |
+String basename(file) => path.basename(_getPath(file)); |
// TODO(nweiz): move this into path.dart. |
/// Gets the the leading directory path for [file], which can either be a |