Commit 567c2cbe authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

eslint-fix

parent 028c6113
......@@ -26,13 +26,11 @@ const RepoCommitSection = {
// see https://docs.gitlab.com/ce/api/commits.html#create-a-commit-with-multiple-files-and-actions
const branch = Helper.getBranch();
const commitMessage = this.commitMessage;
const actions = this.changedFiles.map((f) => {
return {
const actions = this.changedFiles.map(f => ({
action: 'update',
file_path: Helper.getFilePathFromFullPath(f.url, branch),
content: f.newContent,
};
});
}));
const payload = {
branch: Store.targetBranch,
commit_message: commitMessage,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment