mirror of
https://github.com/langgenius/dify.git
synced 2026-02-09 23:20:12 -05:00
chore: enhance dev script robustness by determining the script directory (#19209)
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
set -x
|
||||
|
||||
SCRIPT_DIR="$(dirname "$(realpath "$0")")"
|
||||
cd "$SCRIPT_DIR/.."
|
||||
|
||||
# run ruff linter
|
||||
uv run --directory api --dev ruff check --fix ./
|
||||
|
||||
|
||||
Reference in New Issue
Block a user