diff options
Diffstat (limited to '')
-rw-r--r-- | lib/config/dockerSecret.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/dockerSecret.js b/lib/config/dockerSecret.js index 50bf7fe2..901ff2f5 100644 --- a/lib/config/dockerSecret.js +++ b/lib/config/dockerSecret.js @@ -7,7 +7,7 @@ const basePath = path.resolve('/var/run/secrets/') function getSecret (secret) { const filePath = path.join(basePath, secret) - if (fs.existsSync(filePath)) return fs.readFileSync(filePath) + if (fs.existsSync(filePath)) return fs.readFileSync(filePath).toString('utf8') return undefined } |