Skip to content

Commit

Permalink
Use result array instead of connections array
Browse files Browse the repository at this point in the history
  • Loading branch information
SafalPandey committed Aug 9, 2019
1 parent 5b420e5 commit 0c85551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function resolveConnections(): Promise<Connection[]> {
id: connection.id || `${connection.host}/${connection.database}`
}));

log('Resolved connections: %O', connections.map(({ id, host, database }) => ({ id, host, database })));
log('Resolved connections: %O', result.map(({ id, host, database }) => ({ id, host, database })));

return result;
}

0 comments on commit 0c85551

Please sign in to comment.