From 5c32526f7f0933cfe6810a01078ef8ba096af76b Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 17 Oct 2018 15:09:35 +0200 Subject: [PATCH] Update compiler-metadata.js --- src/app/files/compiler-metadata.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/files/compiler-metadata.js b/src/app/files/compiler-metadata.js index e5217258fd..60b050a264 100644 --- a/src/app/files/compiler-metadata.js +++ b/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)