From 806bf240cb30db668dfbfe47da9092c10e3a199c Mon Sep 17 00:00:00 2001 From: Rainer Hahnekamp Date: Wed, 31 Jul 2024 11:57:24 +0200 Subject: [PATCH] feat: use npx with sheriff --- test-projects/angular-i/integration-test.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test-projects/angular-i/integration-test.sh b/test-projects/angular-i/integration-test.sh index 5f670ee..e090915 100755 --- a/test-projects/angular-i/integration-test.sh +++ b/test-projects/angular-i/integration-test.sh @@ -4,17 +4,17 @@ yalc add @softarc/sheriff-core @softarc/eslint-plugin-sheriff # CLI List Check echo 'checking for CLI list' -sheriff list src/main.ts > tests/actual/cli-list.txt +npx sheriff list src/main.ts > tests/actual/cli-list.txt diff tests/actual/cli-list.txt tests/expected/cli-list.txt # CLI Export Check echo 'checking for CLI export' -sheriff export src/main.ts > tests/actual/cli-export.txt +npx sheriff export src/main.ts > tests/actual/cli-export.txt diff tests/actual/cli-export.txt tests/expected/cli-export.txt # CLI Verify Check echo 'checking for CLI verify' -sheriff verify src/main.ts > tests/actual/cli-verify.txt +npx sheriff verify src/main.ts > tests/actual/cli-verify.txt diff tests/actual/cli-verify.txt tests/expected/cli-verify.txt # Dynamic Import Check