Skip to content

Commit

Permalink
feat(bazel): Treat a package with archive override and patches as mod…
Browse files Browse the repository at this point in the history
…ified

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Aug 26, 2024
1 parent 93ea5b3 commit 05d9658
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ packages:
url: ""
revision: ""
path: ""
is_modified: true
- id: "Bazel::rules_license:0.0.7"
purl: "pkg:generic/rules_license@0.0.7"
declared_licenses: []
Expand Down
3 changes: 2 additions & 1 deletion plugins/package-managers/bazel/src/main/kotlin/Bazel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ class Bazel(
url = archiveOverride.urls.first().toString(),
hash = hash ?: Hash.NONE
),
vcs = VcsInfo.EMPTY
vcs = VcsInfo.EMPTY,
isModified = archiveOverride.patches?.isNotEmpty() == true
)
}

Expand Down

0 comments on commit 05d9658

Please sign in to comment.