From f116d16f0d1790c8dd1fb637b516d12317f64875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E4=BC=9F=E6=9D=B0?= <674416404@qq.com> Date: Thu, 2 Jan 2025 22:51:53 +0800 Subject: [PATCH] 1 --- dist/index.js | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 871bb4f..8ef2aef 100644 --- a/dist/index.js +++ b/dist/index.js @@ -29949,7 +29949,7 @@ function run() { yield (0, exec_1.exec)(`ls -al`); yield (0, exec_1.exec)(`git clone ${repo_url} ../tdesign-vue-next`); yield (0, exec_1.exec)(`ls -al ../`); - yield (0, exec_1.exec)(`ls -al`, [`../tdesign-vue-next`]); + yield (0, exec_1.exec)(`ls -al`, [], { cwd: `../tdesign-vue-next` }); // await exec(`ls -al`) // await exec(`git submodule update --init --remote`) // await exec(`git status`) diff --git a/src/index.ts b/src/index.ts index f5bc8e7..8d52d40 100644 --- a/src/index.ts +++ b/src/index.ts @@ -21,7 +21,7 @@ export async function run(): Promise { await exec(`ls -al`) await exec(`git clone ${repo_url} ../tdesign-vue-next`) await exec(`ls -al ../`) - await exec(`ls -al`, [`../tdesign-vue-next`]) + await exec(`ls -al`, [], { cwd: `../tdesign-vue-next` }) // await exec(`ls -al`) // await exec(`git submodule update --init --remote`) // await exec(`git status`)