Skip to content

Commit 2e8587d

Browse files
committed
Code cleanup
1 parent 4f32ac0 commit 2e8587d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_trigger_build_action.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@ def self.run(params)
99
pipeline_name = {
1010
PIPELINE: params[:pipeline_file]
1111
}
12-
13-
client = Buildkit.new(token: params[:buildkite_token])
1412
options = {
1513
branch: params[:branch],
1614
commit: params[:commit],
1715
env: params[:environment].merge(pipeline_name),
1816
message: params[:message]
1917
}.compact # remove entries with `nil` values from the Hash, if any
2018

19+
client = Buildkit.new(token: params[:buildkite_token])
2120
response = client.create_build(
2221
params[:buildkite_organization],
2322
params[:buildkite_pipeline],

0 commit comments

Comments
 (0)