Skip to content

Commit

Permalink
Logs are now saved correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Mar 21, 2021
1 parent b429335 commit a5d6076
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/account/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default class Account {
}

private onWebSession(cookies: string[]) {
this.logger.debug('Started web session, delivering the cookies');
this.logger.debug('Started web session, delivering cookies');
const { community, options, manager } = this;
manager.setCookies(cookies);
community.setCookies(cookies);
Expand Down
2 changes: 1 addition & 1 deletion app/src/account/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import fs from 'fs';

const { combine, json, timestamp, colorize, cli } = format;

const PATH = path.resolve('../../output/logs/accounts.log');
const PATH = path.resolve(__dirname, '../../output/logs/');

fs.mkdir(PATH, (err) => {} /* Folder already exists */);

Expand Down

0 comments on commit a5d6076

Please sign in to comment.