Update compiler-metadata.js

pull/3094/head
yann300 6 years ago committed by GitHub
parent 45de6d4d3a
commit 5c32526f7f
  1. 1
      src/app/files/compiler-metadata.js

@ -89,6 +89,7 @@ class CompilerMetadata {
if (!content) return callback()
try {
var metadata = JSON.parse(content)
medatada = metadata.deploy || {}
return callback(null, metadata[name + ':' + id] || metadata[name] || metadata[id] || metadata[name.toLowerCase() + ':' + id] || metadata[name.toLowerCase()])
} catch (e) {
callback(e.message)

Loading…
Cancel
Save