Commit 868dcfd1 authored by Mike Greiling's avatar Mike Greiling

fix eslint violations

parent 5920c183
...@@ -154,7 +154,7 @@ const RepoHelper = { ...@@ -154,7 +154,7 @@ const RepoHelper = {
RepoHelper.setBinaryDataAsBase64(data); RepoHelper.setBinaryDataAsBase64(data);
Store.setViewToPreview(); Store.setViewToPreview();
} else if (!Store.isPreviewView()) { } else if (!Store.isPreviewView()) {
if(!data.render_error){ if (!data.render_error) {
Service.getRaw(data.raw_path) Service.getRaw(data.raw_path)
.then((rawResponse) => { .then((rawResponse) => {
Store.blobRaw = rawResponse.data; Store.blobRaw = rawResponse.data;
...@@ -164,7 +164,7 @@ const RepoHelper = { ...@@ -164,7 +164,7 @@ const RepoHelper = {
} }
} }
if (Store.isPreviewView()){ if (Store.isPreviewView()) {
RepoHelper.setFile(data, file); RepoHelper.setFile(data, file);
} }
...@@ -190,7 +190,7 @@ const RepoHelper = { ...@@ -190,7 +190,7 @@ const RepoHelper = {
newFile.url = file.url || location.pathname; newFile.url = file.url || location.pathname;
newFile.url = file.url; newFile.url = file.url;
if(newFile.render_error === 'too_large'){ if (newFile.render_error === 'too_large') {
newFile.tooLarge = true; newFile.tooLarge = true;
} }
newFile.newContent = ''; newFile.newContent = '';
......
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