Skip to content

Commit

Permalink
Merge pull request #24 from correctiv/fix-predicate-reference
Browse files Browse the repository at this point in the history
Imports predicate/dist/predicate (fixes #23)
  • Loading branch information
mavarazy authored Apr 5, 2018
2 parents 3e59ef7 + 6322d1b commit ce9bd9a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/checkField.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import predicate from "predicate";
import predicate from "predicate/dist/predicate";
import { isObject } from "./utils";

import { AND, NOT, OR } from "./constants";
Expand Down
2 changes: 1 addition & 1 deletion src/validation.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import predicate from "predicate";
import predicate from "predicate/dist/predicate";
import {
flatMap,
isObject,
Expand Down
2 changes: 1 addition & 1 deletion test/predicate.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import predicate from "predicate";
import predicate from "predicate/dist/predicate";
import Engine from "../src/Engine";

test("equal work with same strings", function() {
Expand Down
2 changes: 1 addition & 1 deletion test/validation.predicates.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import predicate from "predicate";
import predicate from "predicate/dist/predicate";
import { listInvalidPredicates } from "../src/validation";

let schema = {
Expand Down

0 comments on commit ce9bd9a

Please sign in to comment.