Skip to content
Snippets Groups Projects
Verified Commit 0b10aa9b authored by Loris Moulin's avatar Loris Moulin
Browse files

feat: fixed output path for generate file commands and fixed missing .envs...

feat: fixed output path for generate file commands and fixed missing .envs with options.envs in run_command for node
parent bbd9819b
No related branches found
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ impl<FS: FileSystem + Send + Sync + Clone + 'static> ProviderNamespace for Nativ
.filesystem
.write(
format!(
"{}/{}",
"{}{}",
self.base_dir.to_string_lossy(),
local_output_path.to_string_lossy()
),
......@@ -359,6 +359,7 @@ impl<FS: FileSystem + Send + Sync + Clone + 'static> ProviderNode for NativeNode
) -> Result<ExecutionResult, ProviderError> {
let result = Command::new(options.command)
.args(options.args)
.envs(options.env)
.output()
.await
.map_err(|err| ProviderError::RunCommandError(err.into()))?;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment