Skip to content

Commit

Permalink
Fix query.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Sep 18, 2023
1 parent e942920 commit 9147986
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 10 deletions.
9 changes: 9 additions & 0 deletions .yarn/versions/0a07c64e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
releases:
"@moonrepo/cli": patch
"@moonrepo/core-linux-arm64-gnu": patch
"@moonrepo/core-linux-arm64-musl": patch
"@moonrepo/core-linux-x64-gnu": patch
"@moonrepo/core-linux-x64-musl": patch
"@moonrepo/core-macos-arm64": patch
"@moonrepo/core-macos-x64": patch
"@moonrepo/core-windows-x64-msvc": patch
17 changes: 9 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions nextgen/query/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/moonrepo/moon"
moon_common = { version = "0.1.0", path = "../common" }
moon_config = { version = "0.1.0", path = "../config" }
miette = { workspace = true }
pest = "2.7.2"
pest_derive = "2.7.2"
pest = "2.7.3"
pest_derive = "2.7.3"
starbase_utils = { workspace = true }
thiserror = { workspace = true }
1 change: 1 addition & 0 deletions nextgen/query/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ fn build_criteria(ast: Vec<AstNode>) -> miette::Result<Criteria> {
}
"project" => Field::Project(value),
"projectAlias" => Field::ProjectAlias(value),
"projectName" => Field::ProjectName(value),
"projectSource" => Field::ProjectSource(value),
"projectType" => {
Field::ProjectType(build_criteria_enum::<ProjectType>(&field, &op, value)?)
Expand Down
6 changes: 6 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

#### 🐞 Fixes

- Fixed an issue where the `projectName` query would not work correctly.

## 1.13.4

#### ⚙️ Internal
Expand Down

0 comments on commit 9147986

Please sign in to comment.