Skip to content

Commit

Permalink
Fix Wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
Menighin committed Jun 19, 2020
1 parent c07510d commit fcda022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cei-crawler",
"version": "0.2.1",
"version": "0.2.2",
"description": "Crawler para pegar dados do Canal Eletronico do Investidor",
"main": "src/app.js",
"repository": {
Expand Down Expand Up @@ -48,7 +48,9 @@
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
"@babel/plugin-transform-runtime",
"@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator"
],
"sourceType": "unambiguous"
}
Expand Down
4 changes: 0 additions & 4 deletions src/lib/WalletCrawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ class WalletCrawler {
const stockWallet = hasData ? await this._processStockWallet(page) : [];
const nationalTreasuryWallet = hasData ? await this._processNationalTreasuryWallet(page) : [];

/* istanbul ignore next */
if (traceOperations)
console.log (`Found ${data.length} items`);

// Save the result
result.push({
institution: institution.label,
Expand Down

0 comments on commit fcda022

Please sign in to comment.