Skip to content

Commit 6171e8a

Browse files
committed
ci: fix knip false detection bug
1 parent 734708e commit 6171e8a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/test-windows.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,15 @@ jobs:
4747
AGENT: "1"
4848

4949
- name: Run doctor command
50-
run: bun src/bin/cc-safety-net.ts doctor --skip-update-check
50+
run: bun run cc-safety-net doctor --skip-update-check
5151

5252
- name: Test rm -rf within cwd (issue #26)
5353
run: |
5454
# Create test directory structure
5555
mkdir test-dir
56-
cd test-dir
5756
5857
# Test: rm -rf dist should be ALLOWED within cwd
59-
$result = bun ../src/bin/cc-safety-net.ts explain "rm -rf dist" 2>&1
58+
$result = bun run cc-safety-net explain --cwd test-dir "rm -rf dist" 2>&1
6059
Write-Host "Result: $result"
6160
6261
if ($result -match "ALLOWED") {

0 commit comments

Comments
 (0)