config/: Cleanups in defaultSSL.ts and dockerSecret.ts

Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
David Mehren 2020-04-12 17:45:50 +02:00
parent ad0b0834e5
commit 37c2cd0731
No known key found for this signature in database
GPG key ID: 6017AF117F9756CB
2 changed files with 4 additions and 4 deletions

View file

@ -1,10 +1,10 @@
import fs from 'fs'
function getFile (path): string | undefined {
function getFile (path): string {
if (fs.existsSync(path)) {
return path
}
return undefined
return ''
}
export const defaultSSL = {