diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-28 02:19:33 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-28 02:19:33 +0300 |
| commit | b499e611b6a983ce6077da555ad55c1fd58b1387 (patch) | |
| tree | bca459a912ad7159b2a46d62ed095093348270f6 /src/cli | |
| parent | 7383f120c669bad7e55118d920a6dbb76112dfe0 (diff) | |
fix: resolve relative plugin commands from plugin root
refs #1949
Diffstat (limited to 'src/cli')
| -rw-r--r-- | src/cli/plugin.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cli/plugin.rs b/src/cli/plugin.rs index 6bee42be..b4e6d514 100644 --- a/src/cli/plugin.rs +++ b/src/cli/plugin.rs @@ -1315,9 +1315,8 @@ fn run_plugin_build_command( })); }; let args = command.iter().skip(1).cloned().collect::<Vec<_>>(); - let mut child = crate::plugin_command::command_for_argv(program, &args); + let mut child = crate::plugin_command::command_for_argv_in_dir(program, &args, cwd); child - .current_dir(cwd) .stdin(Stdio::null()) .stdout(Stdio::piped()) .stderr(Stdio::piped()); |
