From de22d25bc335fbdbbb7189d406616a0fe97f7efd Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 28 May 2015 13:19:31 +0800 Subject: [PATCH] src/Palete/ValaSource.vala --- src/Palete/ValaSource.vala | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Palete/ValaSource.vala b/src/Palete/ValaSource.vala index daf555005..579febd13 100644 --- a/src/Palete/ValaSource.vala +++ b/src/Palete/ValaSource.vala @@ -219,6 +219,12 @@ namespace Palete { } if (!foundit) { + var ret = new Json.Object(); + ret.set_boolean_member("success", true); + ret.set_string_member("message", "no need to compile"); + this.compiled(ret); + this.compiler = null; + return; // do not run the compile.. } // is the file in the module? -- 2.39.2