Skip to content

Commit

Permalink
chore: Removed .default from calls to require('ajv'), not needed anym…
Browse files Browse the repository at this point in the history
…ore on ajv v8
  • Loading branch information
rpl committed May 5, 2021
1 parent d1c5ee3 commit d965ab8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/async.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var Ajv = require('ajv').default;
var Ajv = require('ajv');
var addKeywords = require('..');
var test = require('./test_validate');
var assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion spec/errors.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var Ajv = require('ajv').default;
var Ajv = require('ajv');
var addKeywords = require('..');
var assert = require('assert');

Expand Down
2 changes: 1 addition & 1 deletion spec/merge.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var Ajv = require('ajv').default;
var Ajv = require('ajv');
var addKeywords = require('..');
var addMerge = require('../keywords/merge');
var test = require('./test_validate');
Expand Down
2 changes: 1 addition & 1 deletion spec/patch.spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var Ajv = require('ajv').default;
var Ajv = require('ajv');
var addKeywords = require('..');
var addPatch = require('../keywords/patch');
var test = require('./test_validate');
Expand Down

0 comments on commit d965ab8

Please sign in to comment.