src/Palete/Palete.vala
authorAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 09:59:33 +0000 (17:59 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Jun 2016 09:59:33 +0000 (17:59 +0800)
src/Palete/Palete.vala

index 1f974fd..88003c1 100644 (file)
@@ -438,6 +438,10 @@ namespace Palete
                         
                        p.packFile(code, file.path,"");
                        state.showCompileResult(p.result);
                         
                        p.packFile(code, file.path,"");
                        state.showCompileResult(p.result);
+                       if (p.hasErrors()) {
+                               return true;
+                       }
+                       return false;