diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-04 15:18:05 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-08-04 15:18:05 +0300 |
commit | 4c45f8ba4b3fcf0d258c005abc1224c77f880095 (patch) | |
tree | f8700223e05f0b8f24a9285ab3e0f94036e9411a /app/assets | |
parent | ab737d0416c5b6d8f83a6e855f0dc44b2686911b (diff) |
Remove console.log
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/repo/helpers/repo_helper.js | 5 |
1 files changed, 1 insertions, 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) { |