declare the variable
This commit is contained in:
@@ -9,6 +9,8 @@ exports.up = function(db, callback) {
|
||||
}
|
||||
|
||||
const provider = fs.readFileSync('/etc/cloudron/PROVIDER', 'utf8');
|
||||
let sysinfoConfig;
|
||||
|
||||
if (provider === 'ec2' || provider === 'lightsail' || provider === 'ami') {
|
||||
sysinfoConfig = { provider: 'ec2' };
|
||||
} else if (provider === 'scaleway') {
|
||||
|
||||
Reference in New Issue
Block a user