提交 56e0dcab 编写于 作者: L Lin Jen-Shin

Spaces around hash braces

上级 e36088dd
...@@ -799,9 +799,9 @@ class Repository ...@@ -799,9 +799,9 @@ class Repository
author_name: author_name, author_name: author_name,
source_branch: source_branch, source_branch: source_branch,
source_project: source_project, source_project: source_project,
actions: [{action: :create, actions: [{ action: :create,
file_path: path, file_path: path,
content: content}]) content: content }])
end end
# rubocop:enable Metrics/ParameterLists # rubocop:enable Metrics/ParameterLists
...@@ -825,10 +825,10 @@ class Repository ...@@ -825,10 +825,10 @@ class Repository
author_name: author_name, author_name: author_name,
source_branch: source_branch, source_branch: source_branch,
source_project: source_project, source_project: source_project,
actions: [{action: action, actions: [{ action: action,
file_path: path, file_path: path,
content: content, content: content,
previous_path: previous_path}]) previous_path: previous_path }])
end end
# rubocop:enable Metrics/ParameterLists # rubocop:enable Metrics/ParameterLists
...@@ -845,8 +845,8 @@ class Repository ...@@ -845,8 +845,8 @@ class Repository
author_name: author_name, author_name: author_name,
source_branch: source_branch, source_branch: source_branch,
source_project: source_project, source_project: source_project,
actions: [{action: :delete, actions: [{ action: :delete,
file_path: path}]) file_path: path }])
end end
# rubocop:enable Metrics/ParameterLists # rubocop:enable Metrics/ParameterLists
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册