Skip to content

Commit

Permalink
fix: részletes naplóban számla dbszám
Browse files Browse the repository at this point in the history
Closes #14
  • Loading branch information
juzraai committed Oct 31, 2020
1 parent a661d23 commit 65aa9a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repo.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Repo {

this.logger.verbose(`Kész-lista beolvasása: ${this.doneFile}`);
if (fs.existsSync(this.doneFile)) {
this.crawledBillIds = fs.readFileSync(this.doneFile, 'utf8').split('\n');
this.crawledBillIds = fs.readFileSync(this.doneFile, 'utf8').trim().split('\n');
}
this.logger.verbose(`${this.crawledBillIds.length} db számla van a kimeneti mappában`);

Expand Down

0 comments on commit 65aa9a4

Please sign in to comment.