diff --git a/src/app/files/compiler-metadata.js b/src/app/files/compiler-metadata.js index 406ad9e2e2..f731033b05 100644 --- a/src/app/files/compiler-metadata.js +++ b/src/app/files/compiler-metadata.js @@ -73,7 +73,7 @@ class CompilerMetadata { if (error) return callback(error) try { var metadata = JSON.parse(content) - return callback(null, metadata[name + ':' + id] || metadata[name]) + return callback(null, metadata[name + ':' + id] || metadata[name] || metadata[id]) } catch (e) { callback(e.message) }