Index: utils/lib/file_system.dart |
diff --git a/utils/lib/file_system.dart b/utils/lib/file_system.dart |
index aa82e070206d5e8dacee1305a1da92be3c3384bc..32d0b495de521432f16e59725d39b5763cc5776e 100644 |
--- a/utils/lib/file_system.dart |
+++ b/utils/lib/file_system.dart |
@@ -37,11 +37,11 @@ String joinPaths(String path1, String path2) { |
var pieces = path1.split('/'); |
for (var piece in path2.split('/')) { |
- if (piece == '..' && pieces.length > 0 && pieces.last() != '.' |
- && pieces.last() != '..') { |
+ if (piece == '..' && pieces.length > 0 && pieces.last != '.' |
+ && pieces.last != '..') { |
pieces.removeLast(); |
} else if (piece != '') { |
- if (pieces.length > 0 && pieces.last() == '.') { |
+ if (pieces.length > 0 && pieces.last == '.') { |
pieces.removeLast(); |
} |
pieces.add(piece); |