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 }) = ...@@ -119,7 +119,6 @@ export const getRawFileData = ({ state, commit, dispatch }, { path, baseSha }) =
export const changeFileContent = ({ state, commit, dispatch, getters }, { path, content }) => { export const changeFileContent = ({ state, commit, dispatch, getters }, { path, content }) => {
const file = state.entries[path]; const file = state.entries[path];
const stagedFile = getters.getStagedFile(path);
commit(types.UPDATE_FILE_CONTENT, { path, content }); commit(types.UPDATE_FILE_CONTENT, { path, content });
const indexOfChangedFile = state.changedFiles.findIndex(f => f.path === path); const indexOfChangedFile = state.changedFiles.findIndex(f => f.path === path);
......
...@@ -83,7 +83,6 @@ export const decorateData = entity => { ...@@ -83,7 +83,6 @@ export const decorateData = entity => {
opened, opened,
active, active,
parentTreeUrl, parentTreeUrl,
parentPath,
changed, changed,
renderError, renderError,
content, content,
......
...@@ -29,7 +29,6 @@ self.addEventListener('message', e => { ...@@ -29,7 +29,6 @@ self.addEventListener('message', e => {
url: `/${projectId}/tree/${branchId}/${folderPath}/`, url: `/${projectId}/tree/${branchId}/${folderPath}/`,
type: 'tree', type: 'tree',
parentTreeUrl: parentFolder ? parentFolder.url : `/${projectId}/tree/${branchId}/`, parentTreeUrl: parentFolder ? parentFolder.url : `/${projectId}/tree/${branchId}/`,
parentPath: parentFolder ? parentFolder.path : null,
tempFile, tempFile,
changed: tempFile, changed: tempFile,
opened: tempFile, opened: tempFile,
...@@ -68,7 +67,6 @@ self.addEventListener('message', e => { ...@@ -68,7 +67,6 @@ self.addEventListener('message', e => {
url: `/${projectId}/blob/${branchId}/${path}`, url: `/${projectId}/blob/${branchId}/${path}`,
type: 'blob', type: 'blob',
parentTreeUrl: fileFolder ? fileFolder.url : `/${projectId}/blob/${branchId}`, parentTreeUrl: fileFolder ? fileFolder.url : `/${projectId}/blob/${branchId}`,
parentPath: fileFolder ? fileFolder.path : null,
tempFile, tempFile,
changed: tempFile, changed: tempFile,
content, 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