fix: correct admin render validation script paths
TaxBaik CI/CD / build-and-deploy (push) Failing after 1m31s
TaxBaik CI/CD / build-and-deploy (push) Failing after 1m31s
PROBLEM: - validate_admin_render.sh was looking for files in src/TaxBaik.Web.Client/ - Actual files are in src/TaxBaik.Web/Components/Admin/ - This caused CI validation to fail even though files were correct CHANGES: - Update 3 file path references: - app_file: src/TaxBaik.Web.Client/ → src/TaxBaik.Web/ - routes_file: src/TaxBaik.Web.Client/ → src/TaxBaik.Web/ - login_file: src/TaxBaik.Web.Client/ → src/TaxBaik.Web/ - find command: src/TaxBaik.Web.Client/ → src/TaxBaik.Web/ VERIFICATION: ✅ validate_admin_render.sh: PASSED ✅ validate_migrations.sh: PASSED ✅ validate_kst_timestamps.sh: PASSED Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,9 +15,9 @@ set -euo pipefail
|
|||||||
#
|
#
|
||||||
# See CLAUDE.md Phase 9 for architecture details.
|
# See CLAUDE.md Phase 9 for architecture details.
|
||||||
|
|
||||||
app_file="src/TaxBaik.Web.Client/Components/Admin/App.razor"
|
app_file="src/TaxBaik.Web/Components/Admin/App.razor"
|
||||||
routes_file="src/TaxBaik.Web.Client/Components/Admin/Routes.razor"
|
routes_file="src/TaxBaik.Web/Components/Admin/Routes.razor"
|
||||||
login_file="src/TaxBaik.Web.Client/Components/Admin/Pages/Login.razor"
|
login_file="src/TaxBaik.Web/Components/Admin/Pages/Login.razor"
|
||||||
|
|
||||||
for file in "$app_file" "$routes_file" "$login_file"; do
|
for file in "$app_file" "$routes_file" "$login_file"; do
|
||||||
if [ ! -f "$file" ]; then
|
if [ ! -f "$file" ]; then
|
||||||
@@ -64,7 +64,7 @@ while IFS= read -r -d '' page; do
|
|||||||
echo "⚠️ $page has no @rendermode directive (will not be interactive)." >&2
|
echo "⚠️ $page has no @rendermode directive (will not be interactive)." >&2
|
||||||
missing_rendermode=1
|
missing_rendermode=1
|
||||||
fi
|
fi
|
||||||
done < <(find src/TaxBaik.Web.Client/Components/Admin/Pages -name "*.razor" -print0)
|
done < <(find src/TaxBaik.Web/Components/Admin/Pages -name "*.razor" -print0)
|
||||||
|
|
||||||
if [ "$missing_rendermode" -ne 0 ]; then
|
if [ "$missing_rendermode" -ne 0 ]; then
|
||||||
echo "One or more admin pages are missing an explicit @rendermode directive." >&2
|
echo "One or more admin pages are missing an explicit @rendermode directive." >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user