Unverified Commit d5cb982b authored by yann300's avatar yann300 Committed by GitHub

Update compiler-metadata.js

parent ad925d76
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment