Add shell check to pre-cmmit hooks & fix issues reported by it (#2579)

This commit is contained in:
Asher Foa
2025-06-03 13:37:56 -04:00
committed by GitHub
parent 2ddcb9eb0b
commit d09c1c865c
6 changed files with 14 additions and 10 deletions

View File

@@ -1,11 +1,10 @@
#!/bin/bash
set -e
# setting api key
export VITE_SKYVERN_API_KEY=$(sed -n 's/.*cred\s*=\s*"\([^"]*\)".*/\1/p' .streamlit/secrets.toml)
VITE_SKYVERN_API_KEY=$(sed -n 's/.*cred\s*=\s*"\([^"]*\)".*/\1/p' .streamlit/secrets.toml)
export VITE_SKYVERN_API_KEY
npm run start