Skip to content

Commit

Permalink
Fix example.js (#389)
Browse files Browse the repository at this point in the history
If you currently try to execute "example.js", error "Cannot find module 'fast-json-stringify'" is thrown. To fix this, the import statement must be modified.
  • Loading branch information
matthyk authored Feb 11, 2022
1 parent 8cde564 commit 25c952d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const moment = require('moment')
const fastJson = require('fast-json-stringify')
const fastJson = require('.')
const stringify = fastJson({
title: 'Example Schema',
type: 'object',
Expand Down

0 comments on commit 25c952d

Please sign in to comment.