Skip to content

Commit

Permalink
fix: create dweb/data if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Sep 1, 2020
1 parent 56e0cb3 commit f6fcb2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/deployment/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +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 mkdir(`${DWEB_DIR}/data`, { recursive: true });
await createFile(`${DWEB_DIR}/data/cosmos-chain.json`, cfg);

const rpcAddrs = await needBacktick(
Expand Down

0 comments on commit f6fcb2e

Please sign in to comment.