Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
uses: actions/checkout@v4

- name: Download all artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
path: artifacts

Expand Down
5 changes: 1 addition & 4 deletions src/workspaces.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ pub fn discover_workspaces(root: &Path, manifest: &Manifest) -> Result<Vec<Works
for entry in
glob(&pat_str).with_context(|| format!("expand workspace pattern {pat_str}"))?
{
let path = match entry {
Ok(p) => p,
Err(e) => return Err(e.into()),
};
let path = entry?;
let pkg_dir = if path.is_file() {
if path.file_name().map(|n| n == "package.json").unwrap_or(false) {
path.parent().map(Path::to_path_buf).unwrap_or_else(|| path.clone())
Expand Down
Loading