From 4c45f8ba4b3fcf0d258c005abc1224c77f880095 Mon Sep 17 00:00:00 2001 From: "Luke \"Jared\" Bennett" Date: Fri, 4 Aug 2017 13:18:05 +0100 Subject: [PATCH] Remove console.log --- app/assets/javascripts/repo/helpers/repo_helper.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/assets/javascripts/repo/helpers/repo_helper.js b/app/assets/javascripts/repo/helpers/repo_helper.js index 18088034f8d..020b3c2c3d3 100644 --- a/app/assets/javascripts/repo/helpers/repo_helper.js +++ b/app/assets/javascripts/repo/helpers/repo_helper.js @@ -179,10 +179,7 @@ const RepoHelper = { Store.addFilesToDirectory(file, Store.files, newDirectory); Store.prevURL = Service.blobURLtoParentTree(Service.url); } - }).catch((e) => { - console.log(e); - RepoHelper.loadingError(); - }); + }).catch(RepoHelper.loadingError); }, setFile(data, file) {