sort config in vercel file

pull/471/head
qkqpttgf 2021-11-16 13:35:03 +08:00 committed by GitHub
parent af90ff91f7
commit 51d7e13ca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ function setConfig($arr, $disktag = '')
}
$envs = array_filter($envs, 'array_value_isnot_null');
//ksort($envs);
sortConfig($envs);
//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);
return setVercelConfig($envs, getConfig('HerokuappId'), getConfig('APIKey'));