Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from tsirysndr/fix/show-working-dir
Browse files Browse the repository at this point in the history
fix(graphql): return process working directory
  • Loading branch information
tsirysndr authored Mar 19, 2023
2 parents 235da47 + 15f5025 commit 66dc7f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/graphql/schema/objects/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ impl From<types::process::Process> for Process {
stderr_file: process.stderr.clone(),
log_file: process.stdout.clone(),
up_time: process.up_time.map(|t| t.to_rfc3339()).unwrap_or_default(),
working_directory: process.working_dir.clone(),
..Default::default()
}
}
Expand Down

0 comments on commit 66dc7f7

Please sign in to comment.