lib/danger/request_sources/vsts.rb in danger-8.4.4 vs lib/danger/request_sources/vsts.rb in danger-8.4.5
- old
+ new
@@ -22,10 +22,9 @@
]
end
def initialize(ci_source, environment)
self.ci_source = ci_source
- self.environment = environment
@is_vsts_git = environment["BUILD_REPOSITORY_PROVIDER"] == "TfsGit"
project, slug = ci_source.repo_slug.split("/")
@api = VSTSAPI.new(project, slug, ci_source.pull_request_id, environment)