diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57079b8..0aa30cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -120,7 +120,7 @@ jobs: sudo update-binfmts --import /usr/share/binfmts/wine wine --version # fix: 预先运行,做一下配置,不然第一次执行会有问题 - winecfg + ./test/wine/wcc.exe || true corepack enable ls -l diff --git a/test/spec/wcc/empty/version.spec.ts b/test/spec/wcc/empty/version.spec.ts index c4c432e..9e5c914 100644 --- a/test/spec/wcc/empty/version.spec.ts +++ b/test/spec/wcc/empty/version.spec.ts @@ -16,7 +16,10 @@ describe("wcc - empty", function () { try { w = (await windows.wcc(args, projectPath)).replace(/\r\n/g, '\n') - }catch{} + } + catch(err){ + console.error('error:', err) + } const n = await linux.wcc(args, projectPath); const storagePath = path.resolve( __dirname,