chore: change assert to with for import attributes (#2231)

This commit is contained in:
Marvin Hagemeister
2024-01-10 10:25:07 +01:00
committed by GitHub
parent 598237d5dd
commit f63752062a
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ async function fetchLatestVersion() {
async function readCurrentVersion() {
const versions = (await import("../../versions.json", {
"assert": { type: "json" },
with: { type: "json" },
})).default as string[];
return versions[0];
}