Skip to content

Commit

Permalink
fix: always rebuild the dweb config
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Aug 31, 2020
1 parent 3644615 commit 517041d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/deployment/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
Expand Down

0 comments on commit 517041d

Please sign in to comment.