From 860db56f3bf8abed37450ebf44f801201b57c05c Mon Sep 17 00:00:00 2001 From: Marcel Wiessler Date: Wed, 22 May 2024 00:32:29 +0200 Subject: [PATCH] Fix api script imports --- tools/build_api_docs.mjs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/build_api_docs.mjs b/tools/build_api_docs.mjs index 0561484f1..3c477dd29 100644 --- a/tools/build_api_docs.mjs +++ b/tools/build_api_docs.mjs @@ -1,9 +1,7 @@ -import { execSync, spawn } from 'child_process'; +import { execSync } from 'child_process'; import TypeDoc from 'typedoc'; -import fs, { WriteStream, mkdir, mkdirSync, rmSync, writeFileSync } from 'fs'; +import fs, { WriteStream, rmSync, writeFileSync } from 'fs'; import fetch from 'node-fetch'; -import { diffString, diff } from 'json-diff'; -import { Parser, fromURL, fromFile } from '@asyncapi/parser'; import FtpDeploy from 'ftp-deploy'; import dotenv from 'dotenv'; import { html } from 'diff2html';