Skip to content

Commit

Permalink
chore: bump module version
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianopf committed Oct 30, 2018
1 parent bd79de2 commit 5c2bc16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/formatters.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ exports.mod10 = function (num) {

exports.fatorVencimento = function (date) {
const parsedDate = moment(date).utc().format('YYYY-MM-DD')
const startDate = moment('1997-10-07').utc().format("YYYY-MM-DD")
const startDate = moment('1997-10-07').utc().format('YYYY-MM-DD')
return exports.addTrailingZeros(moment(parsedDate).diff(startDate, 'days'), 4)
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-boleto",
"version": "2.0.4",
"version": "2.0.5",
"description": "Boleto generator in Node.js",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/bradesco/boleto.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe('Bradesco Boleto', () => {
boletos.forEach(boleto => {
expect(boleto.bank.options).to.have.property('logoURL').that.contains('bradesco.jpg')
expect(boleto.bank.options).to.have.property('codigo', '237')
});
})
})

it('contains correct codigo_banco', () => {
Expand Down

0 comments on commit 5c2bc16

Please sign in to comment.