From 62d7990b9bb30cf33ed87017c5c633d1cccc75c2 Mon Sep 17 00:00:00 2001 From: Toon Claes Date: Thu, 28 Feb 2019 19:57:34 +0100 Subject: Ran standardrb --fix on the whole codebase 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_. --- lib/bitbucket_server/client.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/bitbucket_server/client.rb') 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) -- cgit v1.2.1