Skip to content

Commit

Permalink
Remove unneeded branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurits Rijk committed Apr 10, 2017
1 parent df1f1b1 commit 1af90a9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,20 @@ For now, see the examples folder.

## Tests

Unit tests:

```bash
$ npm test
```

Test coverage:

`npm run cover`

Run [ESlint](http://eslint.org):

`npm run lint`

For an alternative look at [js.spec](http://js-spec.online)

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion lib/isValid.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function isValid(spec, value) {
if (_.isUndefined(def)) {
throw new Error(`Unable to resolve spec ${spec}`);
}
predicate = def.conform ? def.conform : def;
predicate = def.conform;
}
const result = predicate(value);

Expand Down

0 comments on commit 1af90a9

Please sign in to comment.