summaryrefslogtreecommitdiff
path: root/lib/bitbucket_server/client.rb
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2019-02-28 19:57:34 +0100
committerToon Claes <toon@gitlab.com>2019-02-28 19:57:34 +0100
commit62d7990b9bb30cf33ed87017c5c633d1cccc75c2 (patch)
treec3e1b69c58a412ba1c6f50a0337a23d9f9d6e1a4 /lib/bitbucket_server/client.rb
parentf6453eca992a9c142268e78ac782cef98110d183 (diff)
downloadgitlab-ce-tc-standard-gem.tar.gz
Ran standardrb --fix on the whole codebasetc-standard-gem
Inspired by https://twitter.com/searls/status/1101137953743613952 I decided to try https://github.com/testdouble/standard on our codebase. It's opinionated, but at least it's a _standard_.
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)