Skip to content

Commit

Permalink
fix(smells): fix code smells
Browse files Browse the repository at this point in the history
removed commented code. the only one that is important just for reference is getting the system's
timezone:

// console.log(Intl.DateTimeFormat().resolvedOptions().timeZone);
  • Loading branch information
thatkookooguy committed May 18, 2021
1 parent 08e9a27 commit 1a79c5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion server/src/config/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export class ConfigService extends AchievibitConfig {
}

if (!events) {
// this.logger.log('Starting to listen to events from Proxy');
this.logger.log('Starting to listen to events from Proxy');
events = this.smee.start();
}
} else {
Expand Down
2 changes: 0 additions & 2 deletions server/src/config/winston.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const omitMeta = [
'env'
];

// console.log(Intl.DateTimeFormat().resolvedOptions().timeZone);

export function initializeWinston(rootFolder: string) {
winstonInstance.logger = createLogger({
transports: [
Expand Down

0 comments on commit 1a79c5f

Please sign in to comment.