diff options
author | Mike Greiling <mike@pixelcog.com> | 2019-06-21 12:07:35 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2019-06-21 12:36:03 -0500 |
commit | 55a5ced463ef8bc465476247cee5cc458a6b2355 (patch) | |
tree | 6101b6c99ba91ee08018362779d5f8b306d42493 /app/assets/javascripts/ide | |
parent | 76f49de4e772c4101bcb8df801ad9b7a78adcea7 (diff) | |
download | gitlab-ce-55a5ced463ef8bc465476247cee5cc458a6b2355.tar.gz |
Upgrade prettier to latest (v1.18.2)
Upgrades prettier to the latest version, and auto-corrects files with
yarn prettier-all-save
The diffs all seem to stem from formatting changes in brackets within
template literals. Nothing major.
Relevant changelogs here:
https://prettier.io/blog/2019/04/12/1.17.0.html
https://prettier.io/blog/2019/06/06/1.18.0.html
Diffstat (limited to 'app/assets/javascripts/ide')
-rw-r--r-- | app/assets/javascripts/ide/stores/modules/commit/actions.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/assets/javascripts/ide/stores/modules/commit/actions.js b/app/assets/javascripts/ide/stores/modules/commit/actions.js index ff1255ce749..01ca6a6b12f 100644 --- a/app/assets/javascripts/ide/stores/modules/commit/actions.js +++ b/app/assets/javascripts/ide/stores/modules/commit/actions.js @@ -63,9 +63,7 @@ export const setLastCommitMessage = ({ commit, rootGetters }, data) => { const commitMsg = sprintf( __('Your changes have been committed. Commit %{commitId} %{commitStats}'), { - commitId: `<a href="${currentProject.web_url}/commit/${data.short_id}" class="commit-sha">${ - data.short_id - }</a>`, + commitId: `<a href="${currentProject.web_url}/commit/${data.short_id}" class="commit-sha">${data.short_id}</a>`, commitStats, }, false, @@ -215,9 +213,7 @@ export const commitChanges = ({ commit, state, getters, dispatch, rootState, roo if (rootGetters.activeFile) { router.push( - `/project/${rootState.currentProjectId}/blob/${getters.branchName}/-/${ - rootGetters.activeFile.path - }`, + `/project/${rootState.currentProjectId}/blob/${getters.branchName}/-/${rootGetters.activeFile.path}`, ); } } |