Commit f55f1997 authored by Phil Hughes's avatar Phil Hughes

fixed eslint

parent bec24d15
......@@ -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);
......
......@@ -83,7 +83,6 @@ export const decorateData = entity => {
opened,
active,
parentTreeUrl,
parentPath,
changed,
renderError,
content,
......
......@@ -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,
......@@ -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,
......
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