diff --git a/src/app/files/compiler-metadata.js b/src/app/files/compiler-metadata.js index 60b050a264..81d98bc618 100644 --- a/src/app/files/compiler-metadata.js +++ b/src/app/files/compiler-metadata.js @@ -89,7 +89,7 @@ class CompilerMetadata { if (!content) return callback() try { var metadata = JSON.parse(content) - medatada = metadata.deploy || {} + metadata = metadata.deploy || {} return callback(null, metadata[name + ':' + id] || metadata[name] || metadata[id] || metadata[name.toLowerCase() + ':' + id] || metadata[name.toLowerCase()]) } catch (e) { callback(e.message)