Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Marak/faker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Sep 8, 2017
2 parents b652617 + b75f262 commit af953d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/commerce.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var Commerce = function (faker) {
* @return {string}
*/
self.price = function(min, max, dec, symbol) {
min = min || 0;
min = min || 1;
max = max || 1000;
dec = dec === undefined ? 2 : dec;
symbol = symbol || '';
Expand Down
2 changes: 1 addition & 1 deletion test/commerce.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ describe("commerce.js", function() {

});

});
});

0 comments on commit af953d8

Please sign in to comment.