test(e2e): address remaining copilot review comments

This commit is contained in:
kl
2026-03-09 11:59:13 +08:00
parent b5c95b261d
commit 9e68025c3b
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ test-results/
__pycache__/
fixtures/archive-tmp/
fixtures/zip-tmp/
fixtures/sample.docx
fixtures/sample.xlsx
fixtures/sample.pptx

View File

@@ -87,7 +87,7 @@ try {
ensureArchive('sample.7z', out => {
try {
execFileSync('7z', ['a', '-bd', '-y', out, 'inner.txt'], { cwd: archiveWork, stdio: 'ignore' });
execFileSync('7z', ['a', '-bd', '-y', out, 'inner.txt'], { cwd: archiveWork });
} catch {
execFileSync('bsdtar', ['-a', '-cf', out, 'inner.txt'], { cwd: archiveWork });
}