From 17deaa4877f9ccf0b79dbc2a4d052680a18b81c1 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Mon, 16 Dec 2024 22:48:08 +1100 Subject: [PATCH] Fix UV download script - ESM conversion error --- scripts/downloadUV.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/downloadUV.js b/scripts/downloadUV.js index c96d2f7d..9c72a2e1 100644 --- a/scripts/downloadUV.js +++ b/scripts/downloadUV.js @@ -1,8 +1,8 @@ import path from "path" import os from 'os' -import * as fs from 'fs-extra' +import fs from 'fs-extra' import axios from 'axios' -import tar from 'tar' +import * as tar from 'tar' import extractZip from 'extract-zip' import packageJson from './getPackage.js' @@ -82,4 +82,4 @@ async function downloadAndExtract(baseURL, options) { } //** Download and Extract UV. Default uses OS.Platfrom. Add 'all' will download all. Add 'none' will skip */ -downloadUV(); +await downloadUV();