Skip to content

Commit 2140d97

Browse files
GeekMasherCopilot
andauthored
Update src/action.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bffb71e commit 2140d97

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/action.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,10 @@ impl Action {
141141
// Local CodeQL directory in the working directory
142142
self.working_directory()?.join(".codeql"),
143143
// Runner temp directory
144-
std::env::var("RUNNER_TEMP")
145-
.unwrap_or_else(|_| "/tmp".to_string())
146-
.into(),
144+
PathBuf::from(
145+
std::env::var("RUNNER_TEMP")
146+
.unwrap_or_else(|_| "/tmp".to_string())
147+
).join(".codeql"),
147148
];
148149

149150
for path in paths {

0 commit comments

Comments
 (0)