Update compiler-metadata.js

pull/1/head
yann300 6 years ago committed by GitHub
parent ad925d761c
commit d5cb982baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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)

Loading…
Cancel
Save