Skip to content

Commit 5aae476

Browse files
GeekMasherCopilot
andauthored
Update src/action.rs
Co-authored-by: Copilot <[email protected]>
1 parent 2140d97 commit 5aae476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/action.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ impl Action {
150150
for path in paths {
151151
if !path.exists() {
152152
log::debug!("Creating CodeQL directory at `{}`", path.display());
153-
if std::fs::create_dir(&path).is_ok() {
153+
if std::fs::create_dir_all(&path).is_ok() {
154154
return Ok(path);
155155
} else {
156156
log::warn!("Failed to create CodeQL directory at `{}`", path.display());

0 commit comments

Comments
 (0)