Index: frog/file_system_node.dart |
diff --git a/frog/file_system_node.dart b/frog/file_system_node.dart |
index 6b611b7810e797e983c2ff55f9b47478ac1472be..958681f00d615e4c4d62c9c08851b3cb4aaefb82 100644 |
--- a/frog/file_system_node.dart |
+++ b/frog/file_system_node.dart |
@@ -43,7 +43,7 @@ class NodeFileSystem implements FileSystem { |
throw 'Cannot create directory $path because $existing exists and ' + |
'is not a directory.'; |
} |
- } catch (e) { |
+ } catch (var e) { |
// Ugly hack. We only want to catch ENOENT exceptions from fs.statSync |
// which means the path we're trying doesn't exist. Since this is coming |
// from node, we can't check the exception's type. |