Skip to content

Commit

Permalink
fix ci: use esm export
Browse files Browse the repository at this point in the history
  • Loading branch information
nokotan committed Jul 22, 2024
1 parent c8ab0e6 commit 2f1b51f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ci-scripts/FetchDxLibVersion.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { JSDOM } from "jsdom";
/**
* @returns {string}
*/
async function FetchVersion()
export async function FetchVersion()
{
const dxlibRawPage = await fetch("https://dxlib.xsrv.jp").then(res => res.text());
const dxlibPage = new JSDOM(dxlibRawPage);
Expand All @@ -22,7 +22,3 @@ async function Main()
}

Main();

module.exports = {
FetchVersion
};

0 comments on commit 2f1b51f

Please sign in to comment.