Skip to content

Commit 8037905

Browse files
authored
Merge pull request BrasilAPI#70 from chrisbenseler/master
Use default parameter
2 parents f846939 + 00e7d64 commit 8037905

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/errors/cep-promise.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
function CepPromiseError (options) {
2-
options = options || {}
1+
function CepPromiseError (options = {}) {
32
this.name = 'CepPromiseError'
43
this.message = options.message
54
this.type = options.type

0 commit comments

Comments
 (0)