Skip to content

Commit 0240c38

Browse files
committed
allow accessing the original package on Package
1 parent ebf8a66 commit 0240c38

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/query_packwerk/package.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ module QueryPackwerk
88
class Package
99
extend T::Sig
1010

11+
sig { returns(ParsePackwerk::Package) }
12+
attr_reader :original_package
13+
1114
sig { params(original_package: ParsePackwerk::Package).void }
1215
def initialize(original_package:)
1316
@original_package = original_package

0 commit comments

Comments
 (0)