From dba8e2e7c936baceaf14e52d9c0bb3a3fee310b2 Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 7 Feb 2018 11:09:09 +0800 Subject: [PATCH] buildSDK/less-bootstrap-compiler.php --- buildSDK/less-bootstrap-compiler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildSDK/less-bootstrap-compiler.php b/buildSDK/less-bootstrap-compiler.php index b1a18c0001..3ab30a49a9 100644 --- a/buildSDK/less-bootstrap-compiler.php +++ b/buildSDK/less-bootstrap-compiler.php @@ -48,7 +48,7 @@ foreach ($files as $src => $file){ continue; } - $is_up_to_date = true; + $isLatest = true; foreach(scandir($dir) as $f) { @@ -59,12 +59,12 @@ foreach ($files as $src => $file){ $less = "{$dir}{$f}"; if(filemtime($less) > filemtime($css)){ - $is_up_to_date = false; + $isLatest = false; break; } } - if($is_up_to_date){ + if($isLatest){ echo "{$css} already up-to-date \n"; unset($files[$src]); } -- 2.39.2