From: Alan Knowles Date: Mon, 2 Nov 2015 09:39:44 +0000 (+0800) Subject: JSDOC/Packer.vala X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=5aacef12ead5022cd79f850fd0965b4e47f4aaf9 JSDOC/Packer.vala --- diff --git a/JSDOC/Packer.vala b/JSDOC/Packer.vala index 50ebb34..4e1aecb 100644 --- a/JSDOC/Packer.vala +++ b/JSDOC/Packer.vala @@ -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!!