From 6cc5fa8b23f703058c5bdf62c8179d5cab9acafe Mon Sep 17 00:00:00 2001 From: JonLuca De Caro Date: Mon, 11 Dec 2023 10:38:37 -0800 Subject: [PATCH] fix: fix cli import #46 (#47) --- bin/json-schema-to-openapi-schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/json-schema-to-openapi-schema.js b/bin/json-schema-to-openapi-schema.js index 1178137..33021c8 100755 --- a/bin/json-schema-to-openapi-schema.js +++ b/bin/json-schema-to-openapi-schema.js @@ -2,7 +2,7 @@ 'use strict'; const yargs = require('yargs'); -const converter = require('../dist/cjs/index.js').default; +const converter = require('../dist/index.js').default; const helpText = require('./help-text.json'); const fs = require('fs'); const readFileAsync = require('util').promisify(fs.readFile);