JSDOC/Packer.vala
authorAlan Knowles <alan@roojs.com>
Mon, 2 Nov 2015 09:39:44 +0000 (17:39 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 2 Nov 2015 09:39:44 +0000 (17:39 +0800)
JSDOC/Packer.vala

index 50ebb34..4e1aecb 100644 (file)
@@ -198,6 +198,8 @@ namespace JSDOC
                    if (this.targetDebugStream != null) {
                            this.targetDebugStream.write("".data);
                    }
+                   
+                   
                    foreach(var file in this.files) {
                        
                        print("reading %s\n",file );
@@ -214,7 +216,7 @@ namespace JSDOC
                        if (this.targetDebugStream !=null) {
                                
                                FileUtils.get_contents(file,out file_contents);
-                           this.targetDebugStream.write(file_contents);
+                           this.targetDebugStream.write(file_contents.data);
                            loaded_string = false;
                        }
                        // it's a good idea to check with 0 compression to see if the code can parse!!