bugfix @3
This commit is contained in:
parent
3f0720408c
commit
8f9aa3c02d
|
@ -111,16 +111,22 @@
|
|||
|
||||
/* [5] Launch deploy script for each feature
|
||||
=========================================================*/
|
||||
slog('Deploying each feature', "api:deploy", 'update');
|
||||
|
||||
/* (1) For each feature */
|
||||
foreach($feature as $feat_name){
|
||||
|
||||
/* (2) Check if specific data in response */
|
||||
if( !isset($arr_r['feature'][$feat_name]) )
|
||||
if( !isset($arr_r['feature'][$feat_name]) ){
|
||||
slog("No data found for $eat_name", "api:deploy", 'update');
|
||||
continue;
|
||||
}
|
||||
|
||||
/* (3) Check for feature deploy script */
|
||||
if( !file_exists(SOURCE_DIR."/feature/$feat_name/deploy") )
|
||||
if( !file_exists(SOURCE_DIR."/feature/$feat_name/deploy") ){
|
||||
slog("No deploy script found for $eat_name", "api:deploy", 'update');
|
||||
continue;
|
||||
}
|
||||
|
||||
/* (4) Write useful exclusive data to tmp file */
|
||||
file_put_contents(TMP_DIR."/$feat_name", json_encode($arr_r['feature'][$feat_name]));
|
||||
|
|
Loading…
Reference in New Issue