We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b328f86 commit caf404cCopy full SHA for caf404c
src/lib/secrets.ts
@@ -2,7 +2,7 @@ import fs from 'node:fs'
2
3
function readSecret(path: string, fallback: string = ''): string {
4
try {
5
- return fs.readFileSync(path).toString()
+ return fs.readFileSync(path).toString().trim()
6
} catch {
7
return fallback || ''
8
}
0 commit comments