From 4ca9558f8dde5ec9f7d726cb988765ba581ee10c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 28 Oct 2015 18:12:56 +0800 Subject: [PATCH] JSDOC/Packer.vala --- JSDOC/Packer.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/JSDOC/Packer.vala b/JSDOC/Packer.vala index 554fe50..3a6f406 100644 --- a/JSDOC/Packer.vala +++ b/JSDOC/Packer.vala @@ -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); -- 2.39.2