diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index 3bf37a1..d9554c7 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -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' }); }