From 5aacef12ead5022cd79f850fd0965b4e47f4aaf9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 2 Nov 2015 17:39:44 +0800 Subject: [PATCH] JSDOC/Packer.vala --- JSDOC/Packer.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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!! -- 2.39.2