mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
feature(minify) rm force flag
This commit is contained in:
parent
760d274d5d
commit
1ff198b90c
1 changed files with 1 additions and 3 deletions
|
|
@ -56,9 +56,7 @@
|
|||
if(!this.MinFolder)
|
||||
this.MinFolder = Minify.MinFolder;
|
||||
|
||||
if(pParams && pParams.force)
|
||||
Minify.optimize(pName, pParams);
|
||||
else if(lRet)
|
||||
if (lRet)
|
||||
IsChanged.isFileChanged(pName, function(pChanged) {
|
||||
if(pChanged)
|
||||
Minify.optimize(pName, pParams);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue