summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-10 12:09:36 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-10 12:09:36 +0000
commitc6a33b298229f9e04933be43d6176c476ef03012 (patch)
tree66b336ef374b813d6e9c7f6a19264060a1f23f91 /app/assets/javascripts
parentc52b81f45762cb7f05a950689dfc6d51b197ea73 (diff)
downloadgitlab-ce-c6a33b298229f9e04933be43d6176c476ef03012.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/ide/services/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/services/index.js b/app/assets/javascripts/ide/services/index.js
index 84a2b2bd58e..3adf0cf073f 100644
--- a/app/assets/javascripts/ide/services/index.js
+++ b/app/assets/javascripts/ide/services/index.js
@@ -25,7 +25,7 @@ export default {
return Promise.resolve(file.content);
}
- if (file.raw) {
+ if (file.raw || !file.rawPath) {
return Promise.resolve(file.raw);
}