diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-04 02:14:55 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-04 02:14:55 +0300 |
commit | b299198e1eb5e1f26d5267f4a64944e600086d6b (patch) | |
tree | 441412c739e7dace4c2ba34099d19677d52e0314 /app/assets/javascripts/ide/components/repo_commit_section.vue | |
parent | fb583c4b1839af16c50e27105a300695aa50bcad (diff) |
Adds `eslint-plugin-vue`, fixes linter errors and adds docs
Diffstat (limited to 'app/assets/javascripts/ide/components/repo_commit_section.vue')
-rw-r--r-- | app/assets/javascripts/ide/components/repo_commit_section.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/components/repo_commit_section.vue b/app/assets/javascripts/ide/components/repo_commit_section.vue index 470db2c9650..b1ec82f5209 100644 --- a/app/assets/javascripts/ide/components/repo_commit_section.vue +++ b/app/assets/javascripts/ide/components/repo_commit_section.vue @@ -49,7 +49,9 @@ export default { const createNewBranch = newBranch || this.startNewMR; const payload = { - branch: createNewBranch ? `${this.currentBranchId}-${new Date().getTime().toString()}` : this.currentBranchId, + branch: createNewBranch ? + `${this.currentBranchId}-${new Date().getTime().toString()}` : + this.currentBranchId, commit_message: this.commitMessage, actions: this.changedFiles.map(f => ({ action: f.tempFile ? 'create' : 'update', |