From 996f3edb149a53da7dca8a26d0f5f2f2d6987bbe Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 9 Sep 2020 12:15:00 +0200 Subject: [PATCH] fix formatting --- apps/remix-ide/src/app/files/compiler-metadata.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide/src/app/files/compiler-metadata.js b/apps/remix-ide/src/app/files/compiler-metadata.js index a19c3d088c..c77bfa7614 100644 --- a/apps/remix-ide/src/app/files/compiler-metadata.js +++ b/apps/remix-ide/src/app/files/compiler-metadata.js @@ -56,7 +56,7 @@ class CompilerMetadata extends Plugin { deploy[network] = self._syncContext(contract, deploy[network] || {}) }) - provider.set(metadataFileName, JSON.stringify(contract.object.metadata, null, '\t')); + provider.set(metadataFileName, JSON.stringify(JSON.parse(contract.object.metadata), null, '\t')) var data = { deploy,