Skip to content

Commit caf404c

Browse files
committed
Trim secrets
1 parent b328f86 commit caf404c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/secrets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import fs from 'node:fs'
22

33
function readSecret(path: string, fallback: string = ''): string {
44
try {
5-
return fs.readFileSync(path).toString()
5+
return fs.readFileSync(path).toString().trim()
66
} catch {
77
return fallback || ''
88
}

0 commit comments

Comments
 (0)