Skip to content

Commit 70b6558

Browse files
authored
fix: improper use of readFile to read the generated public cert (#95)
1 parent b7dfd5c commit 70b6558

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/app/dev/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class Dev extends BaseCommand {
235235

236236
// 2. store them globally in config
237237
const privateKey = (await fs.readFile(privateKeyPath, { encoding: 'utf8' }))
238-
const publicCert = (await fs.readFile(pubCertPath), { encoding: 'utf8' })
238+
const publicCert = (await fs.readFile(pubCertPath, { encoding: 'utf8' }))
239239
coreConfig.set(`${devKeysConfigKey}.privateKey`, privateKey)
240240
coreConfig.set(`${devKeysConfigKey}.publicCert`, publicCert)
241241

0 commit comments

Comments
 (0)