From 02e44406a891d49cbc2afaed84225f750e23fc8b Mon Sep 17 00:00:00 2001 From: Tw93 Date: Mon, 28 Aug 2023 17:35:02 +0800 Subject: [PATCH] :bug: update shelljs --- script/build_with_pake_cli.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/build_with_pake_cli.mjs b/script/build_with_pake_cli.mjs index 1726a42..9db1e18 100644 --- a/script/build_with_pake_cli.mjs +++ b/script/build_with_pake_cli.mjs @@ -1,9 +1,11 @@ -import { exec, cd, mv } from 'shelljs'; +import shelljs from 'shelljs'; import axios from 'axios'; import { promises as fs } from 'fs'; import { fileURLToPath } from 'url'; import path, { dirname } from 'path'; +const { exec, cd, mv } = shelljs; + const __filename = fileURLToPath(import.meta.url); const __dirname = dirname(__filename);