lib/danger/commands/local.rb in danger-9.2.0 vs lib/danger/commands/local.rb in danger-9.3.0
- old
+ new
@@ -47,18 +47,18 @@
ENV["DANGER_USE_LOCAL_GIT"] = "YES"
ENV["LOCAL_GIT_PR_ID"] = @pr_num if @pr_num
configure_octokit(ENV["DANGER_TMPDIR"] || Dir.tmpdir)
- env = EnvironmentManager.new(ENV, cork)
+ env = EnvironmentManager.new(ENV, cork, @danger_id)
dm = Dangerfile.new(env, cork)
LocalSetup.new(dm, cork).setup(verbose: verbose) do
dm.run(
Danger::EnvironmentManager.danger_base_branch,
Danger::EnvironmentManager.danger_head_branch,
@dangerfile_path,
- nil,
+ @danger_id,
nil,
nil
)
end
end