JSDOC/Packer.vala
authorAlan Knowles <alan@roojs.com>
Wed, 28 Oct 2015 10:12:56 +0000 (18:12 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Oct 2015 10:12:56 +0000 (18:12 +0800)
JSDOC/Packer.vala

index 554fe50..3a6f406 100644 (file)
@@ -217,12 +217,13 @@ namespace JSDOC
                        
                   
                        
-                       var minfile = this.tmpDir + '/' +file.replace(/\//g, '.');
+                       var minfile = this.tmpDir + '/' + file.replace("/", '.');
                        
                        
                        // let's see if we have a min file already?
                        // this might happen if tmpDir is set .. 
-                       if (true && File.exists(minfile)) {
+                       
+                       if (true && FileUtils.test (minfile, FileTest.EXISTS)) {
                            var mt = File.mtime(minfile);
                            var ot = File.mtime(file);
                            print("compare : " + mt + "=>" + ot);