mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 00:48:04 +08: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