1
0
mirror of https://github.com/hustcer/deepseek-review.git synced 2026-05-13 05:16:05 +08:00

fix: Fix getting Nu binary path for Nushell 0.106

This commit is contained in:
hustcer
2025-07-15 20:16:21 +08:00
parent d0b2ea125a
commit 930e0ae68f

View File

@@ -28,7 +28,7 @@ alias cr := code-review
# Used to handle the path separator issue # Used to handle the path separator issue
DEEPSEEK_REVIEW_PATH := parent_directory(justfile()) DEEPSEEK_REVIEW_PATH := parent_directory(justfile())
NU_DIR := parent_directory(`(which nu).path.0`) NU_DIR := parent_directory(`$nu.current-exe`)
_query_plugin := if os_family() == 'windows' { 'nu_plugin_query.exe' } else { 'nu_plugin_query' } _query_plugin := if os_family() == 'windows' { 'nu_plugin_query.exe' } else { 'nu_plugin_query' }
# To pass arguments to a dependency, put the dependency # To pass arguments to a dependency, put the dependency