forked from engineering/cloudservices
typing fix
parent
a0479d1cff
commit
f507131ae2
|
@ -72,6 +72,8 @@ export default class CWG_Create extends Command {
|
|||
|
||||
certs = { cert: certAndPrivateKey[0], key: certAndPrivateKey[1] };
|
||||
} else {
|
||||
// eslint-disable-next-line no-shadow
|
||||
const certs: { cert?: string, key?: string } = {};
|
||||
certs.cert = await fs.readFile('/etc/ssl/private/cloud-libraryofcode-org.chain.crt', { encoding: 'utf8' });
|
||||
certs.key = await fs.readFile('/etc/ssl/private/cloud-libraryofcode-org.key', { encoding: 'utf8' });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue