Chromium Code Reviews| 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) { |
|
Jennifer Messerly
2011/12/20 22:28:15
Is this just a style change, or did the compiler n
terry
2011/12/20 22:50:40
I did this because DartC errors if no var and I wr
|
| // 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. |