AbstractSDK / cw-orchestrator

All-in-one Rust-based CosmWasm testing, scripting, and deployment tool.
https://orchestrator.abstract.money
GNU General Public License v3.0
79 stars 18 forks source link

Create non-existent dir #336

Closed Kayanski closed 8 months ago

Kayanski commented 8 months ago

This PR aims at creating the directory of the state file before creating the file itself to avoid file not found errors.

cloudflare-workers-and-pages[bot] commented 8 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7cb787c
Status:🚫  Build failed.

View logs

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 66.6%. Comparing base (e64b4ea) to head (7cb787c).

Additional details and impacted files | [Files](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/336?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK) | Coverage Δ | | |---|---|---| | [cw-orch-daemon/src/json\_file.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/336?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y3ctb3JjaC1kYWVtb24vc3JjL2pzb25fZmlsZS5ycw==) | `100.0% <100.0%> (ø)` | |