also return by networkid

pull/3094/head
yann300 6 years ago
parent f5aabc83bf
commit 2be9c39569
  1. 2
      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)
}

Loading…
Cancel
Save