summaryrefslogtreecommitdiff
path: root/lib/bitbucket_server/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bitbucket_server/client.rb')
-rw-r--r--lib/bitbucket_server/client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bitbucket_server/client.rb b/lib/bitbucket_server/client.rb
index 6a608058813..dfe70fe4910 100644
--- a/lib/bitbucket_server/client.rb
+++ b/lib/bitbucket_server/client.rb
@@ -32,7 +32,7 @@ module BitbucketServer
payload = {
name: branch_name,
startPoint: sha,
- message: 'GitLab temporary branch for import'
+ message: "GitLab temporary branch for import",
}
connection.post("/projects/#{project_key}/repos/#{repo}/branches", payload.to_json)
@@ -41,7 +41,7 @@ module BitbucketServer
def delete_branch(project_key, repo, branch_name, sha)
payload = {
name: Gitlab::Git::BRANCH_REF_PREFIX + branch_name,
- dryRun: false
+ dryRun: false,
}
connection.delete(:branches, "/projects/#{project_key}/repos/#{repo}/branches", payload.to_json)