Skip to content

Commit

Permalink
Travis: Fix display of status in badge
Browse files Browse the repository at this point in the history
Status was unknown due to a bad request.
  • Loading branch information
rodrigobdz committed Feb 21, 2019
1 parent e42a1fb commit 87acfab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# validi18n [![Build Status](https://travis-ci.com/rodrigobdz/validi18n.svg?branch=master)](https://travis-ci.com/rodrigobdz/validi18n) [![codecov](https://codecov.io/gh/rodrigobdz/validi18n/badge.svg?branch=master)](https://codecov.io/gh/rodrigobdz/validi18n?branch=master)
# validi18n [![Build Status](https://travis-ci.org/rodrigobdz/validi18n.svg?branch=master)](https://travis-ci.org/rodrigobdz/validi18n) [![codecov](https://codecov.io/gh/rodrigobdz/validi18n/badge.svg?branch=master)](https://codecov.io/gh/rodrigobdz/validi18n?branch=master)

> Ensure consistent keys across i18n translations
Expand All @@ -11,12 +11,12 @@ $ npm install validi18n
## Usage

```js
const validi18n = require("validi18n");
const validi18n = require('validi18n')

validi18n({ en: { save: "Save" }, de: { save: "Speichern" } });
validi18n({ en: { save: 'Save' }, de: { save: 'Speichern' } })
//=> true

validi18n({ en: { save: "Save" }, de: {} });
validi18n({ en: { save: 'Save' }, de: {} })
//console error => { en: ['save'], de: [] }
//=> false
```
Expand Down

0 comments on commit 87acfab

Please sign in to comment.