refactor(web): share creds json reader

This commit is contained in:
Peter Steinberger
2026-02-15 13:07:44 +00:00
parent 8a4f9f168b
commit 428b6e0dee
2 changed files with 2 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ export function hasWebCredsSync(authDir: string): boolean {
}
}
function readCredsJsonRaw(filePath: string): string | null {
export function readCredsJsonRaw(filePath: string): string | null {
try {
if (!fsSync.existsSync(filePath)) {
return null;