Skip to content

Commit

Permalink
CredentialsHelper: Remove unnecessary err
Browse files Browse the repository at this point in the history
Signed-off-by: kingbri <bdashore3@gmail.com>
  • Loading branch information
bdashore3 committed Jul 3, 2021
1 parent fff6bf5 commit 0625cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/Config/credentialsHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ProjectCredentials } from '../types';
export async function handleCredentials(path: string): Promise<ProjectCredentials> {
const rawCreds = await fs
.readFile(path, 'utf8')
.catch((err) => console.log('No credentials found! Skipping...'));
.catch(() => console.log('No credentials found! Skipping...'));

if (!rawCreds) {
return {};
Expand Down

0 comments on commit 0625cd4

Please sign in to comment.