Skip to content
Snippets Groups Projects
Unverified Commit f55f1997 authored by Phil Hughes's avatar Phil Hughes
Browse files

fixed eslint

parent bec24d15
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -119,7 +119,6 @@ export const getRawFileData = ({ state, commit, dispatch }, { path, baseSha }) =
 
export const changeFileContent = ({ state, commit, dispatch, getters }, { path, content }) => {
const file = state.entries[path];
const stagedFile = getters.getStagedFile(path);
commit(types.UPDATE_FILE_CONTENT, { path, content });
 
const indexOfChangedFile = state.changedFiles.findIndex(f => f.path === path);
Loading
Loading
Loading
Loading
@@ -83,7 +83,6 @@ export const decorateData = entity => {
opened,
active,
parentTreeUrl,
parentPath,
changed,
renderError,
content,
Loading
Loading
Loading
Loading
@@ -29,7 +29,6 @@ self.addEventListener('message', e => {
url: `/${projectId}/tree/${branchId}/${folderPath}/`,
type: 'tree',
parentTreeUrl: parentFolder ? parentFolder.url : `/${projectId}/tree/${branchId}/`,
parentPath: parentFolder ? parentFolder.path : null,
tempFile,
changed: tempFile,
opened: tempFile,
Loading
Loading
@@ -68,7 +67,6 @@ self.addEventListener('message', e => {
url: `/${projectId}/blob/${branchId}/${path}`,
type: 'blob',
parentTreeUrl: fileFolder ? fileFolder.url : `/${projectId}/blob/${branchId}`,
parentPath: fileFolder ? fileFolder.path : null,
tempFile,
changed: tempFile,
content,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment