diff options
| author | Roee Shapira <35409124+5c077m4n@users.noreply.github.com> | 2020-11-21 20:39:57 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-21 19:39:57 +0100 |
| commit | fd1f1ce697fae94101e971ff059aed9c33c379fd (patch) | |
| tree | 92de576efdcfb5a9e8aab81626ee7372584db6be /src/utils | |
| parent | refactor(structure): Change structure of `/tmp` directory (#62) (diff) | |
| download | sl0ppij-fd1f1ce697fae94101e971ff059aed9c33c379fd.tar.gz sl0ppij-fd1f1ce697fae94101e971ff059aed9c33c379fd.tar.xz sl0ppij-fd1f1ce697fae94101e971ff059aed9c33c379fd.zip | |
fix(layout): total layout percent 100 validation (#57)
* Fix for issue #52
* Added missing fixtures.
* Added missing validation.
* Moved layout creation and validation to the Layout struct.
* Ran cargo fmt.
* Added creation of tmp folder if needed.
* Code review edit.
* Code review edit.
* Fancied code up.
* PR request change.
* PR code review.
* Merge from upstream/main.
* Merge from upstream/main.
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/logging.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils/logging.rs b/src/utils/logging.rs index 77e924a9..38ac57c4 100644 --- a/src/utils/logging.rs +++ b/src/utils/logging.rs @@ -38,7 +38,6 @@ pub fn delete_log_dir() -> io::Result<()> { if fs::metadata(MOSAIC_TMP_LOG_DIR).is_ok() { fs::remove_dir_all(MOSAIC_TMP_LOG_DIR)?; } - fs::create_dir_all(MOSAIC_TMP_LOG_DIR)?; Ok(()) } |
