Commit 1d5a3065 authored by Mike Greiling's avatar Mike Greiling

resolve eslint violations

parent 7572aaf3
......@@ -216,7 +216,7 @@ const RepoHelper = {
serializeRepoEntity(type, entity) {
const { url, name, icon, last_commit } = entity;
let returnObj = {
const returnObj = {
type,
name,
url,
......@@ -225,7 +225,7 @@ const RepoHelper = {
loading: false,
};
if(entity.last_commit){
if (entity.last_commit) {
returnObj.lastCommitUrl = `${Store.projectUrl}/commit/${last_commit.id}`;
} else {
returnObj.lastCommitUrl = '';
......@@ -289,7 +289,7 @@ const RepoHelper = {
return Store.openedFiles.find(openedFile => Store.activeFile.url === openedFile.url);
},
loadingError(e) {
loadingError() {
Flash('Unable to load the file at this time.');
},
};
......
......@@ -2,7 +2,7 @@ import Vue from 'vue';
import RepoStore from '~/repo/stores/repo_store';
import repoSidebar from '~/repo/components/repo_sidebar.vue';
fdescribe('RepoSidebar', () => {
describe('RepoSidebar', () => {
function createComponent() {
const RepoSidebar = Vue.extend(repoSidebar);
......
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