From 50c28c2fa125601791ac9302def104f8de3108b6 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sun, 17 Mar 2024 12:17:22 +0100 Subject: [PATCH] Added type assert for package json. --- make_docs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_docs.js b/make_docs.js index bc828f659..2026ad5f2 100644 --- a/make_docs.js +++ b/make_docs.js @@ -2,7 +2,7 @@ import exec from 'child_process' import fs from 'fs' import path from 'path' -import pjson from './src/package.json' with {type: "json"} +import pjson from './src/package.json' assert {type: "json"} const VERSION=pjson.version console.log(`Building docs for version ${VERSION}`)