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

Commit

Permalink
Add another check.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Sep 7, 2023
1 parent a393d2d commit 246bb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/store/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl Store {
) -> miette::Result<PathBuf> {
let output_dir = self.packages_dir.join(item.to_file_path());

if output_dir.exists() {
if output_dir.exists() && !fs::is_dir_locked(&output_dir) {
debug!(
item = item.get_label(),
output_dir = ?output_dir,
Expand Down

0 comments on commit 246bb16

Please sign in to comment.