Skip to content

Commit

Permalink
Ensure directory exists before cd-ing to it.
Browse files Browse the repository at this point in the history
  • Loading branch information
obi1kenobi committed Nov 30, 2024
1 parent 501e87b commit 3d2766d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/regenerate_test_rustdocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ fi

PLACEHOLDER_DIR="$TARGET_DIR/placeholder"
rm -rf "$PLACEHOLDER_DIR"
mkdir -p "$TARGET_DIR"
pushd "$TARGET_DIR"
cargo new --lib placeholder
cd placeholder
Expand Down

0 comments on commit 3d2766d

Please sign in to comment.