Skip to content

Commit 7ad5518

Browse files
author
Alex Evanczuk
authored
Use Packwerk::OffenseCollection instead of T.untyped (#33)
1 parent 1101815 commit 7ad5518

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/Shopify/packwerk.git
3-
revision: 8476bb3cd5452765ad452d36aa45ae724f1d44f5
3+
revision: 7428f23e243a4a172ddb4e28021a732e2c9abc1a
44
branch: main
55
specs:
66
packwerk (2.2.1)
@@ -17,7 +17,7 @@ GIT
1717
PATH
1818
remote: .
1919
specs:
20-
danger-packwerk (0.11.0)
20+
danger-packwerk (0.11.1)
2121
code_ownership
2222
danger-plugin-api (~> 1.0)
2323
packwerk

lib/danger-packwerk/packwerk_wrapper.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ def show_offenses(offenses)
5656
''
5757
end
5858

59-
# T.untyped should be Packwerk::OffenseCollection, but is currently private until
60-
# https://github.com/Shopify/packwerk/pull/289 merges
61-
sig { override.params(offense_collection: T.untyped, for_files: T::Set[String]).returns(String) }
59+
sig { override.params(offense_collection: Packwerk::OffenseCollection, for_files: T::Set[String]).returns(String) }
6260
def show_stale_violations(offense_collection, for_files)
6361
''
6462
end

lib/danger-packwerk/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# frozen_string_literal: true
33

44
module DangerPackwerk
5-
VERSION = '0.11.0'
5+
VERSION = '0.11.1'
66
end
Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)