Index: runtime/bin/file_patch.dart |
diff --git a/runtime/bin/file_patch.dart b/runtime/bin/file_patch.dart |
index 4b5e5e6f0d45118b29ca34eab2643e1dbaf7f467..9f1f6d06aa165d8289fc49861e936487021335ca 100644 |
--- a/runtime/bin/file_patch.dart |
+++ b/runtime/bin/file_patch.dart |
@@ -83,7 +83,7 @@ class _FileSystemWatcherImpl |
if (event == RawSocketEvent.READ) { |
String getPath(event) { |
var path = _path; |
- if (event[2] != null) { |
+ if (event[2] != null && event[2].isNotEmpty) { |
path += Platform.pathSeparator; |
path += event[2]; |
} |