From 517041dd13ca16e5b915578b0f0cf6f8f27158fd Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Mon, 31 Aug 2020 01:58:30 -0600 Subject: [PATCH] fix: always rebuild the dweb config --- packages/deployment/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/deployment/main.js b/packages/deployment/main.js index fcb7d9a37b4..346f9b85c38 100644 --- a/packages/deployment/main.js +++ b/packages/deployment/main.js @@ -467,9 +467,7 @@ show-config display the client connection parameters const cfg = await needBacktick(`${shellEscape(progname)} show-config`); process.stdout.write(`${chalk.yellow(cfg)}\n`); - await guardFile(`${DWEB_DIR}/data/cosmos-chain.json`, async makeFile => { - await makeFile(cfg); - }); + await createFile(`${DWEB_DIR}/data/cosmos-chain.json`, cfg); const rpcAddrs = await needBacktick( `${shellEscape(progname)} show-rpcaddrs`,