sort config in vercel file
This commit is contained in:
@@ -151,6 +151,7 @@ function setConfig($arr, $disktag = '')
|
|||||||
}
|
}
|
||||||
$envs = array_filter($envs, 'array_value_isnot_null');
|
$envs = array_filter($envs, 'array_value_isnot_null');
|
||||||
//ksort($envs);
|
//ksort($envs);
|
||||||
|
sortConfig($envs);
|
||||||
//error_log1(json_encode($arr, JSON_PRETTY_PRINT) . ' => tmp:' . json_encode($envs, JSON_PRETTY_PRINT));
|
//error_log1(json_encode($arr, JSON_PRETTY_PRINT) . ' => tmp:' . json_encode($envs, JSON_PRETTY_PRINT));
|
||||||
//echo json_encode($arr, JSON_PRETTY_PRINT) . ' => tmp:' . json_encode($envs, JSON_PRETTY_PRINT);
|
//echo json_encode($arr, JSON_PRETTY_PRINT) . ' => tmp:' . json_encode($envs, JSON_PRETTY_PRINT);
|
||||||
return setVercelConfig($envs, getConfig('HerokuappId'), getConfig('APIKey'));
|
return setVercelConfig($envs, getConfig('HerokuappId'), getConfig('APIKey'));
|
||||||
|
|||||||
Reference in New Issue
Block a user