docs.js
[gnome.introspection-doc-generator] / docs.js
diff --git a/docs.js b/docs.js
index c8faf5c..4586039 100644 (file)
--- a/docs.js
+++ b/docs.js
@@ -51,7 +51,7 @@ File.list(__script_path__ + '/templates/').forEach(function(f) {
         continue;
     }
     if (f == 'resources') {
-        continue;
+        return;
     }
     langs.push({
         name : f,
@@ -179,5 +179,5 @@ langs.forEach(function(lang) {
     });
     Gio.simple_write(outputdir + '/' + lang.name +  '/index.html', ix_template.process(ns_idx));
     File.silentRecursiveCopy(__script_path__ + '/templates/resources/', 
-        outputdir + '/'  lang.name , Gio.FileCopyFlags.OVERWRITE);
+        outputdir + '/'  lang.name , Gio.FileCopyFlags.OVERWRITE);
 });
\ No newline at end of file