Skip to content

Commit

Permalink
Using import instead of require.
Browse files Browse the repository at this point in the history
Co-authored-by: Arthur Araujo <[email protected]>
  • Loading branch information
thamara and araujoarthur0 authored Jan 8, 2024
1 parent 69b4471 commit 6654936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/validate-json.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
const Validator = require('jsonschema').Validator;
import { Validator } from 'jsonschema';

const schema = {
'id': '/singleEntry',
Expand Down

0 comments on commit 6654936

Please sign in to comment.