Skip to content

Commit

Permalink
Added missing locale/ro.js
Browse files Browse the repository at this point in the history
Added missing locale solving `Error: Cannot find module 'faker/locale/ro'` when you try to use this locale
  • Loading branch information
danibram authored Sep 4, 2020
1 parent ecac64c commit 0c4d861
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions locale/ro.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var Faker = require('../lib');
var faker = new Faker({ locale: 'ro', localeFallback: 'en' });
faker.locales['ro'] = require('../lib/locales/ro');
faker.locales['en'] = require('../lib/locales/en');
module['exports'] = faker;

0 comments on commit 0c4d861

Please sign in to comment.