Project/Project.vala
authorAlan Knowles <alan@roojs.com>
Thu, 9 Oct 2014 07:27:39 +0000 (15:27 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 9 Oct 2014 07:27:39 +0000 (15:27 +0800)
Project/Project.vala

index cb0f1b9..d8c4c2d 100644 (file)
@@ -87,12 +87,12 @@ namespace Project {
                         
                                FileInfo next_file; 
                                while ((next_file = file_enum.next_file(null)) != null) {
-                               var fn = next_file.get_display_name();
-                               if (!Regex.match_simple("\\.json$", fn)) {
-                                       continue;
-                               }
-                               factoryFromFile(dirname + "/" + fn);
-                               }
+                                       var fn = next_file.get_display_name();
+                                       if (!Regex.match_simple("\\.json$", fn)) {
+                                               continue;
+                                       }
+                                       factoryFromFile(dirname + "/" + fn);
+                               }       
                        } catch(Error e) {
                                print("oops - something went wrong scanning the projects\n");
                        }