From 47250cbd228eff2a2b8ea296e19874f50b131328 Mon Sep 17 00:00:00 2001 From: edward Date: Fri, 5 Jan 2018 17:59:54 +0800 Subject: [PATCH] buildSDK/less-bootstrap-compiler.php --- buildSDK/less-bootstrap-compiler.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/buildSDK/less-bootstrap-compiler.php b/buildSDK/less-bootstrap-compiler.php index e4c4e187e1..d840f44abf 100644 --- a/buildSDK/less-bootstrap-compiler.php +++ b/buildSDK/less-bootstrap-compiler.php @@ -44,21 +44,7 @@ foreach ($files as $src => $file){ $variable = "{$dir}variables.less"; - if(file_exists($variable)){ - echo "exist??"; - echo "\n"; - - echo filemtime($variable); - - echo "\n"; - - continue; - } - - echo "not exist??"; - exit; - - if(filemtime("{$dir}variables.less") > filemtime($css)){ + if(file_exists($variable) && filemtime("{$dir}variables.less") > filemtime($css)){ continue; } -- 2.39.2